![]() |
VR-Exchange 2.10 API Documentation
|
A generic class that represents the entries that are parsed out of a csv file by the csv file reader. More...
Public Member Functions | |
| DtCsvFileEntry (const DtString &name) | |
| CTOR. More... | |
| DtCsvFileEntry (const DtCsvFileEntry &orig) | |
| Copy CTOR. More... | |
| virtual | ~DtCsvFileEntry () |
| Virtual DTOR. More... | |
| DtCsvFileEntry & | operator= (const DtCsvFileEntry &orig) |
| Assignment operator. More... | |
| virtual DtCsvFileEntry * | clone () |
| Clone method. More... | |
| virtual DtString & | operator[] (int idx) |
| Reference access for indexing into the entry. More... | |
| virtual const DtString & | operator[] (int idx) const |
| virtual void | parseFrom (const DtString &sLine) |
| Parses the given line into fields and stores them. More... | |
| virtual const DtString & | name () const |
| Entry's name. More... | |
| virtual void | emptyList () |
| Deletes the string fields in the member list. More... | |
| virtual int | length () const |
| Returns the number of fields available. More... | |
Static Public Member Functions | |
| static DtCsvFileEntry * | creator () |
| Static creator method. More... | |
Protected Member Functions | |
| DtCsvFileEntry () | |
| Protected Default CTOR. More... | |
Protected Attributes | |
| DtString | myName |
| DtList | myFields |
A generic class that represents the entries that are parsed out of a csv file by the csv file reader.
Children classes will derive their own entrie from this that their own derived readers know how to parse
| DtCsvFileEntry::DtCsvFileEntry | ( | const DtString & | name | ) |
CTOR.
| DtCsvFileEntry::DtCsvFileEntry | ( | const DtCsvFileEntry & | orig | ) |
Copy CTOR.
|
virtual |
Virtual DTOR.
|
protected |
Protected Default CTOR.
Only the create method can use the default CTOR.
|
virtual |
Clone method.
|
static |
Static creator method.
|
virtual |
Deletes the string fields in the member list.
|
virtual |
Returns the number of fields available.
|
virtual |
Entry's name.
| DtCsvFileEntry& DtCsvFileEntry::operator= | ( | const DtCsvFileEntry & | orig | ) |
Assignment operator.
|
virtual |
Reference access for indexing into the entry.
Returns DtString::nullString() for indices that are out of range.
|
virtual |
|
virtual |
Parses the given line into fields and stores them.
|
protected |
|
protected |