#include <entry.h>
Public Member Functions | |
| FieldHandle () | |
| const Field * | operator-> () const |
| const std::string & | name () const |
| std::string | value () const |
| bool | isMissing () const |
| FieldHandle & | add (const ValuePart &p, int line=-1) |
| FieldHandle & | operator<< (const ValuePart &p) |
| FieldHandle & | operator+= (const ValuePart &p) |
| template<class O> | |
| FieldHandle & | append (O first, const O &last, int line=-1) |
| void | clear () |
| const Entry * | entry () const |
| operator bool () const | |
| FieldHandle & | operator++ () |
| void | next () |
Protected Member Functions | |
| FieldHandle (Entry *e, const std::string &name) | |
| FieldHandle (Entry *e, const std::map< std::string, Field >::iterator &f) | |
Friends | |
| class | Entry |
| FieldHandle | ( | ) |
| FieldHandle | ( | Entry * | e, | |
| const std::string & | name | |||
| ) | [protected] |
| FieldHandle | ( | Entry * | e, | |
| const std::map< std::string, Field >::iterator & | f | |||
| ) | [protected] |
| const Field * operator-> | ( | ) | const |
| const string & name | ( | ) | const |
| string value | ( | ) | const |
| bool isMissing | ( | ) | const |
| FieldHandle & add | ( | const ValuePart & | p, | |
| int | line = -1 | |||
| ) |
Add a value part to the field. If isMissing() returns true, then it is first added to entry() (thus it is no longer missing).
Identical to operator<<(const ValuePart&) and operator+=(const ValuePart&)
| FieldHandle & operator<< | ( | const ValuePart & | p | ) |
Add a value part to the field. If isMissing() returns trues, then it is first added to entry() (thus it is no longer missing).
Identical to operator+=(const ValuePart& p) and add(const ValuePart&)
| FieldHandle & operator+= | ( | const ValuePart & | p | ) |
Add a value part to the field. If isMissing() returns true, then it is first added to entry() (thus it is no longer missing).
Identical to operator<<(const ValuePart& p) and add(const ValuePart&)
| FieldHandle & append | ( | O | first, | |
| const O & | last, | |||
| int | line = -1 | |||
| ) |
| void clear | ( | ) |
| const Entry * entry | ( | ) | const |
| operator bool | ( | ) | const |
| FieldHandle & operator++ | ( | ) |
| void next | ( | ) |
friend class Entry [friend] |
1.5.1