![]() |
Public API Reference |
This is a bag of strings property class. More...
#include <propclass/bag.h>
Public Member Functions | |
| virtual void | AddString (const char *str)=0 |
| Add an string to this bag. | |
| virtual void | Clear ()=0 |
| Empty the bag. | |
| virtual csSet< csString > ::GlobalIterator | GetIterator ()=0 |
| Return an iterator iterating over all strings. | |
| virtual bool | HasString (const char *str)=0 |
| Check if this bag contains the string. | |
| virtual void | RemoveString (const char *str)=0 |
| Remove a string from this bag. | |
| virtual bool | SendMessage (const char *msgid, iCelParameterBlock *params=0)=0 |
| Treat the strings in this bag as names of entities and then send this message to all entities in the bag. | |
This is a bag of strings property class.
This property class supports the following actions (add prefix 'cel.bag.action.' if you want to access this action through a message):
This property class supports the following properties:
| virtual void iPcBag::AddString | ( | const char * | str | ) | [pure virtual] |
Add an string to this bag.
| virtual void iPcBag::Clear | ( | ) | [pure virtual] |
Empty the bag.
| virtual csSet<csString>::GlobalIterator iPcBag::GetIterator | ( | ) | [pure virtual] |
Return an iterator iterating over all strings.
| virtual bool iPcBag::HasString | ( | const char * | str | ) | [pure virtual] |
Check if this bag contains the string.
| virtual void iPcBag::RemoveString | ( | const char * | str | ) | [pure virtual] |
Remove a string from this bag.
| virtual bool iPcBag::SendMessage | ( | const char * | msgid, |
| iCelParameterBlock * | params = 0 |
||
| ) | [pure virtual] |
Treat the strings in this bag as names of entities and then send this message to all entities in the bag.