# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NLGEORGES::CFileHeader Class Reference

#include <header.h>

List of all members.

Public Types

enum  TState { Modified = 0, Checked, StateCount }

Public Methods

 CFileHeader ()
 Default constructor. More...

void addLog (const char *log)
 Add a log. More...

void setComments (const char *comments)
 Set the comment. More...

void read (xmlNodePtr root)
 ** IO functions. More...

void write (xmlNodePtr node, bool georges4CVS) const
void warning (bool exception, const char *function, const char *format,...) const

Static Public Methods

const char * getStateString (TState state)

Public Attributes

uint32 MajorVersion
 Major version number. More...

uint32 MinorVersion
 Minor version number. More...

TState State
 State of the form. More...

std::string Revision
 CVS Revision string. More...

std::string Comments
 Comments of the form. More...

std::string Log
 Log of the form. More...


Member Enumeration Documentation

enum NLGEORGES::CFileHeader::TState
 

Enumeration values:
Modified 
Checked 
StateCount 

Definition at line 41 of file header.h.


Constructor & Destructor Documentation

NLGEORGES::CFileHeader::CFileHeader  
 

Default constructor.

Definition at line 44 of file header.cpp.

References MajorVersion, MinorVersion, Modified, Revision, and State.


Member Function Documentation

void NLGEORGES::CFileHeader::addLog const char *    log
 

Add a log.

Definition at line 98 of file header.cpp.

References Log, and t.

const char * NLGEORGES::CFileHeader::getStateString TState    state [static]
 

Definition at line 240 of file header.cpp.

References Modified.

void NLGEORGES::CFileHeader::read xmlNodePtr    root
 

** IO functions.

Definition at line 121 of file header.cpp.

References Checked, Comments, Log, MajorVersion, MinorVersion, Modified, Revision, State, value, and warning.

void NLGEORGES::CFileHeader::setComments const char *    comments
 

Set the comment.

Definition at line 114 of file header.cpp.

References Comments.

void NLGEORGES::CFileHeader::warning bool    exception,
const char *    function,
const char *    format,
...   
const
 

Definition at line 250 of file header.cpp.

References format, and NLGEORGES::warning.

Referenced by read.

void NLGEORGES::CFileHeader::write xmlNodePtr    node,
bool    georges4CVS
const
 

Definition at line 55 of file header.cpp.

References Comments, Log, MajorVersion, MinorVersion, Modified, Revision, NLMISC::smprintf, and State.


Member Data Documentation

std::string NLGEORGES::CFileHeader::Comments
 

Comments of the form.

Definition at line 67 of file header.h.

Referenced by read, setComments, and write.

std::string NLGEORGES::CFileHeader::Log
 

Log of the form.

Definition at line 70 of file header.h.

Referenced by addLog, read, and write.

uint32 NLGEORGES::CFileHeader::MajorVersion
 

Major version number.

Definition at line 55 of file header.h.

Referenced by CFileHeader, read, and write.

uint32 NLGEORGES::CFileHeader::MinorVersion
 

Minor version number.

Definition at line 58 of file header.h.

Referenced by CFileHeader, read, and write.

std::string NLGEORGES::CFileHeader::Revision
 

CVS Revision string.

Definition at line 64 of file header.h.

Referenced by CFileHeader, read, and write.

TState NLGEORGES::CFileHeader::State
 

State of the form.

Definition at line 61 of file header.h.

Referenced by CFileHeader, read, and write.


The documentation for this class was generated from the following files: