Inherits fObject.
|
int | getSize () |
| If it is an array of objects, return the size of the array.
|
|
int | getType () |
| Return the type of the value contained in the nEventProperties.
|
|
const std::string | getTypeString () |
| Return the type as a String representation, for example, LONG, STRING etc. More...
|
|
| nObject (unsigned char val) |
| Construct a new nObject which holds an unsigned char. More...
|
|
| nObject (char val) |
| Construct a new nObject which holds a char. More...
|
|
| nObject (bool val) |
| Construct a new nObject which holds a boolean. More...
|
|
| nObject (short val) |
| Construct a new nObject which holds a short. More...
|
|
| nObject (int val) |
| Construct a new nObject which holds an int. More...
|
|
| nObject (longlong val) |
| Construct a new nObject which holds a long. More...
|
|
| nObject (float val) |
| Construct a new nObject which holds a float. More...
|
|
| nObject (double val) |
| Construct a new nObject which holds a double. More...
|
|
| nObject (const std::string &str) |
| Construct a new nObject which holds a string. More...
|
|
| nObject (fEventDictionary *pDict) |
| Construct a new nObject which holds an fEventDictionary*. More...
|
|
| nObject (unsigned char *val, int size) |
| Construct a new nObject which holds an array of unsigned chars. More...
|
|
| nObject (char *val, int size) |
| Construct a new nObject which holds an array of chars. More...
|
|
| nObject (bool *val, int size) |
| Construct a new nObject which holds an array of booleans. More...
|
|
| nObject (short *val, int size) |
| Construct a new nObject which holds an array of shorts. More...
|
|
| nObject (int *val, int size) |
| Construct a new nObject which holds an array of ints. More...
|
|
| nObject (longlong *val, int size) |
| Construct a new nObject which holds a array of longs. More...
|
|
| nObject (float *val, int size) |
| Construct a new nObject which holds an array of floats. More...
|
|
| nObject (double *val, int size) |
| Construct a new nObject which holds an array of doubles. More...
|
|
| nObject (std::string *val, int size) |
| Construct a new nObject which holds an array of strings. More...
|
|
| nObject (fEventDictionary **val, int size) |
| Construct a new nObject which holds an array of fEventDictionary*. More...
|
|
void | toString (std::string &value) |
| Convert the object to a string.
|
|
This class is a holder for different types of object.
It is used in situations where a function needs to return various different types of object for example it is used in conjunction with the nEventPropertiesIterator which, on each iteration, may return a different object type.
An nObject can be cast to whatever object it contains e.g. int x = (int)nobject;
- See Also
- nEventProperties
-
nEventPropertiesIterator