NLGEORGES::UForm Class Reference

#include <u_form.h>

Inheritance diagram for NLGEORGES::UForm:

NLMISC::CRefCount NLGEORGES::CForm

Detailed Description

This class provide an interface to access Georges form

Definition at line 46 of file u_form.h.

Public Member Functions

virtual const std::string & getComment () const=0
virtual void getDependencies (std::set< std::string > &dependencies) const=0
virtual uint getNumParent () const=0
 Get a mutable pointer on the root element of the form. It is a struct node.

virtual UFormgetParentForm (uint parent) const=0
 Get a mutable pointer on the root element of the form. It is a struct node.

const sintgetRefCount () const
virtual const UFormElmgetRootNode () const=0
 Get a const pointer on the root element of the form. It is a struct node.

virtual UFormElmgetRootNode ()=0
 Get a mutable pointer on the root element of the form. It is a struct node.

virtual void write (NLMISC::IStream &stream, bool georges4CVS)=0
virtual ~UForm ()

Data Fields

sint crefs
CPtrInfo * pinfo

Static Public Attributes

CPtrInfo NullPtrInfo

Friends

struct CPtrInfo


Constructor & Destructor Documentation

NLGEORGES::UForm::~UForm  )  [virtual]
 

Definition at line 72 of file form.cpp.

00073 {
00074 }


Member Function Documentation

virtual const std::string& NLGEORGES::UForm::getComment  )  const [pure virtual]
 

Get the comment

Implemented in NLGEORGES::CForm.

virtual void NLGEORGES::UForm::getDependencies std::set< std::string > &  dependencies  )  const [pure virtual]
 

Get dependency files

Implemented in NLGEORGES::CForm.

virtual uint NLGEORGES::UForm::getNumParent  )  const [pure virtual]
 

Get a mutable pointer on the root element of the form. It is a struct node.

Access form parents

Implemented in NLGEORGES::CForm.

virtual UForm* NLGEORGES::UForm::getParentForm uint  parent  )  const [pure virtual]
 

Get a mutable pointer on the root element of the form. It is a struct node.

Implemented in NLGEORGES::CForm.

const sint& NLMISC::CRefCount::getRefCount  )  const [inline, inherited]
 

Definition at line 70 of file smart_ptr.h.

References NLMISC::CRefCount::crefs, and sint.

00071         {
00072                 return  crefs;
00073         }

virtual const UFormElm& NLGEORGES::UForm::getRootNode  )  const [pure virtual]
 

Get a const pointer on the root element of the form. It is a struct node.

Implemented in NLGEORGES::CForm.

virtual UFormElm& NLGEORGES::UForm::getRootNode  )  [pure virtual]
 

Get a mutable pointer on the root element of the form. It is a struct node.

Access form nodes

Implemented in NLGEORGES::CForm.

virtual void NLGEORGES::UForm::write NLMISC::IStream stream,
bool  georges4CVS
[pure virtual]
 

Write the form in a stream.

Parameters:
stream is the stream used to write the form
georges4CVS should be true if you use Georges with CVS false else

Implemented in NLGEORGES::CForm.


Friends And Related Function Documentation

friend struct CPtrInfo [friend, inherited]
 

Definition at line 67 of file smart_ptr.h.


Field Documentation

sint NLMISC::CRefCount::crefs [mutable, inherited]
 

Definition at line 79 of file smart_ptr.h.

Referenced by NLMISC::CRefCount::CRefCount(), NLMISC::CRefCount::getRefCount(), and NLMISC::CRefCount::~CRefCount().

CRefCount::CPtrInfo NLMISC::CRefCount::NullPtrInfo [static, inherited]
 

Referenced by NLMISC::CRefCount::CRefCount().

CPtrInfo* NLMISC::CRefCount::pinfo [mutable, inherited]
 

Definition at line 80 of file smart_ptr.h.

Referenced by NLMISC::CRefCount::CRefCount(), and NLMISC::CRefCount::~CRefCount().


The documentation for this class was generated from the following files:
Generated on Tue Mar 16 12:46:15 2004 for NeL by doxygen 1.3.6