#include <object_base.h>
object_base.h
Created on: Nov 1, 2014 Author: Jordan Irwin Base of all object files
BaseObject::BaseObject |
( |
| ) |
|
BaseObject::BaseObject |
( |
char * |
name | ) |
|
Alternate contructor
- Parameters
-
name | Identifying name of the object |
signed const int BaseObject::getId |
( |
| ) |
|
- Returns
- Object's id
References id.
const char * BaseObject::getName |
( |
| ) |
|
bool BaseObject::idEquals |
( |
signed int |
id | ) |
|
Tests object's id
- Parameters
-
- Returns
- "id" is the same as object's id
bool BaseObject::nameEquals |
( |
char * |
name | ) |
|
Tests object's name
- Parameters
-
- Returns
- "name" is the same as object's name
void BaseObject::setName |
( |
char * |
name | ) |
|
Set the object's name
- Parameters
-
name | String that will be object's name |
signed int BaseObject::id |
|
protected |
The object's id
Referenced by getId().
The documentation for this class was generated from the following files: