Entry Class Reference

#include <entry.h>

Inheritance diagram for Entry:

FileEntry List of all members.

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

Constructor & Destructor Documentation

Entry (  ) 

~Entry (  )  [virtual]

Entry ( const std::string &  type,
const std::string &  key,
int  line = -1 
)


Member Function Documentation

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.


Friends And Related Function Documentation

friend class FieldHandle [friend]


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