FieldHandle Class Reference

#include <entry.h>

List of all members.

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


Constructor & Destructor Documentation

FieldHandle (  ) 

FieldHandle ( Entry *  e,
const std::string &  name 
) [protected]

FieldHandle ( Entry *  e,
const std::map< std::string, Field >::iterator &  f 
) [protected]


Member Function Documentation

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 (  ) 


Friends And Related Function Documentation

friend class Entry [friend]


Generated on Wed Jan 24 01:14:43 2007 for XDKBIBTEX by  doxygen 1.5.1