#include <entry.h>
Inheritance diagram for Entry:

Public Member Functions | |
| Entry () | |
| virtual | ~Entry () |
| Entry (const std::string &type, const std::string &key, int line=-1) | |
| const std::string & | type () const |
| const std::string & | key () const |
| int | line () const |
| const std::string & | comment () const |
| void | setComment (const std::string &) |
| FieldHandle | addField (const std::string &name, int line=-1) |
| bool | hasField (const std::string &fieldName) const |
| FieldHandle | field (const std::string &fieldName) |
| FieldHandle | firstField () |
| const std::string & | sortKey () const |
| void | setSortKey (const std::string &s) |
| const std::map< std::string, Field > & | fields () const |
| const std::string & | longestFieldName () const |
Protected Member Functions | |
| virtual std::string | valueOf (const std::string &s) const |
Friends | |
| class | FieldHandle |
| Entry | ( | ) |
| ~Entry | ( | ) | [virtual] |
| Entry | ( | const std::string & | type, | |
| const std::string & | key, | |||
| int | line = -1 | |||
| ) |
| const string & type | ( | ) | const |
| const string & key | ( | ) | const |
| int line | ( | ) | const |
| const string & comment | ( | ) | const |
| void setComment | ( | const std::string & | ) |
| FieldHandle addField | ( | const std::string & | name, | |
| int | line = -1 | |||
| ) |
| bool hasField | ( | const std::string & | fieldName | ) | const |
| FieldHandle field | ( | const std::string & | fieldName | ) |
| FieldHandle firstField | ( | ) |
| const string & sortKey | ( | ) | const |
| void setSortKey | ( | const std::string & | s | ) |
| const map< string, Field > & fields | ( | ) | const |
| const string & longestFieldName | ( | ) | const |
| virtual std::string valueOf | ( | const std::string & | s | ) | const [protected, virtual] |
Reimplemented in FileEntry.
friend class FieldHandle [friend] |
1.5.1