#include <src/Utilities/Constructs.h>
List of all members.
template<class T>
class VectorNames< T >
Constructor & Destructor Documentation
{
this->Buffer = _strdup(Buf);
}
Member Function Documentation
template<class T>
const DynamicVectorClass<char *>& VectorNames< T >::Entries |
( |
| ) |
const [inline] |
{
return T::Find((*this)[Index]);
}
template<class T>
char* VectorNames< T >::operator[] |
( |
int |
Index | ) |
[inline] |
{
if(Index < 0 || Index > this->Strings.Count) {
return NULL;
}
return this->Strings.GetItem(Index);
}
template<class T>
void VectorNames< T >::Tokenize |
( |
const char * |
Buf = NULL | ) |
[inline] |
{
if(Buf) {
if(this->Buffer) {
free(this->Buffer);
}
this->Buffer = _strdup(Buf);
}
this->Strings.Clear();
for(char * cur = strtok(this->Buffer, ","); cur && *cur; cur = strtok(NULL, ",")) {
this->Strings.AddItem(cur);
}
}
Member Data Documentation
The documentation for this class was generated from the following file: