iCelPropertyClassList Struct Reference
A list of property classes. More...
#include <physicallayer/propclas.h>
Public Member Functions | |
virtual size_t | Add (iCelPropertyClass *obj)=0 |
Add a property class. | |
virtual size_t | Find (iCelPropertyClass *obj) const =0 |
Find a property class and return its index. | |
virtual iBase * | FindByInterface (scfInterfaceID id, int version) const =0 |
Find a property class by SCF interface. | |
virtual iBase * | FindByInterfaceAndTag (scfInterfaceID id, int version, const char *tag) const =0 |
Find a property class by SCF interface and tag. | |
virtual iCelPropertyClass * | FindByName (const char *name) const =0 |
Find a property class by name. | |
virtual iCelPropertyClass * | FindByNameAndTag (const char *name, const char *tag) const =0 |
Find a property class by name and tag. | |
virtual iCelPropertyClass * | Get (size_t n) const =0 |
Return a property class by index. | |
virtual size_t | GetCount () const =0 |
Return the number of property classes in this list. | |
virtual bool | Remove (size_t n)=0 |
Remove the nth property class. | |
virtual bool | Remove (iCelPropertyClass *obj)=0 |
Remove a property class. | |
virtual void | RemoveAll ()=0 |
Remove all property classes. | |
virtual bool | RemoveByInterface (scfInterfaceID scf_id, int iVersion)=0 |
Remove all property classes with given interface (ignores tag). | |
virtual bool | RemoveByInterfaceAndTag (scfInterfaceID scf_id, int iVersion, const char *tag)=0 |
Remove all property classes with given interface and with the given tag. |
Detailed Description
A list of property classes.
Definition at line 366 of file propclas.h.
Member Function Documentation
|
Add a property class.
|
|
Find a property class and return its index.
|
|
Find a property class by SCF interface. Return that interface with ref-count incremented with one. This function will first try to find a property class that implements the interface but has tag not set (0). If such a property class cannot be found then it will return a random one that implements the given interface. |
|
Find a property class by SCF interface and tag. If tag is 0 then it will find the default property class. |
|
Find a property class by name. This function will first try to find a property class with the given name that has tag not set (0). If such a property class is not found it will return a random one with the given name. |
|
Find a property class by name and tag. If tag is 0 then it will find the default property class. |
|
Return a property class by index.
|
|
Return the number of property classes in this list.
|
|
Remove the nth property class.
|
|
Remove a property class.
|
|
Remove all property classes.
|
|
Remove all property classes with given interface (ignores tag).
|
|
Remove all property classes with given interface and with the given tag. 'tag' can be 0. In that case it will remove property classes with no tag. |
The documentation for this struct was generated from the following file:
- physicallayer/propclas.h
Generated for CEL: Crystal Entity Layer by doxygen 1.4.6