Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - Core - XML - XMLBaseBodyC
 

  PUBLIC
XMLBaseBodyC::XMLBaseBodyC(void)
XMLBaseBodyC::Context(void)
XMLBaseBodyC::IsContext(void) const
XMLBaseBodyC::Context(void) const
XMLBaseBodyC::EndOfContext(const StringC &)
XMLBaseBodyC::EndOfContext(void)
XMLBaseBodyC::StartContext(const StringC &,bool)
XMLBaseBodyC::StartContext(const StringC &,const RCHashC &,bool)
XMLBaseBodyC::StartContext(const XMLElementC &)
XMLBaseBodyC::IsStrict(void) const
XMLBaseBodyC::IsContent(void) const
XMLBaseBodyC::SetContent(bool)
XMLBaseBodyC::LevelsNested(void) const
XMLBaseBodyC::GetAttib(const StringC &,StringC &)
XMLBaseBodyC::SetAttrib(const StringC &,const StringC &)
RCBodyVC::Save(ostream &) const
RCBodyVC::Save(BinOStreamC &) const
RCBodyVC::Copy(void) const
RCBodyVC::DeepCopy(UIntT) const
RCBodyC::References(void) const
RCBodyC::Copy(void) const
RCBodyC::DeepCopy(UIntT) const
RCBodyC::IncRefCounter(void)
RCBodyC::DecRefCounter(void)

   XMLBaseBodyC   
 
Common XML operations.
 
include "Ravl/XMLStream.hh"
Source file:Ravl/Core/System/XMLStream.hh
User Level:Develop
Library:RavlCore
In Scope:RavlN

Comments:
Stuff common to handling XML input and output.

Parent Classes: Variables:
bool strict;
Be strict about usage.

StackC context;

bool contents;

Methods:
XMLBaseBodyC()
Constructor.

XMLElementC & Context()
Access current context.

bool IsContext() const
Are we in a valid context ?

const XMLElementC & Context() const
Access current context.

bool EndOfContext(const StringC & nm)

bool EndOfContext()

bool StartContext(const StringC & str,bool emptyTag = false)

bool StartContext(const StringC & str,const RCHashC<StringC,StringC> & attrs,bool emptyTag = false)

bool StartContext(const XMLElementC & elem)

bool IsStrict() const
In strict mode ?
if true issue errors if XML consitancy check fails in reading or writing.

bool IsContent() const
Got content ?
True if content has been found.

void SetContent(bool cont)
Set got content.

UIntT LevelsNested() const
Number of open elements in the stack.

bool GetAttib(const StringC & name,StringC & val)
Set string attribute.

void SetAttrib(const StringC & value,const StringC & val)
Set a string valued attribute.

#include "Ravl/RCHandleV.hh"
bool Save(ostream & out) const
Save to stream 'out'.

bool Save(BinOStreamC & out) const
Save to binary stream 'out'.

RCBodyVC & Copy() const
Make copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

RCBodyC & DeepCopy(UIntT levels = ((UIntT))) const
Make a deep copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

#include "Ravl/RefCounter.hh"
UIntT References() const
Access count of handles open to this object.

RCBodyC & Copy() const
Make copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

RCBodyC & DeepCopy(UIntT levels = ((UIntT))) const
Make a deep copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

void IncRefCounter()
Increment reference counter.

bool DecRefCounter()
Decrement reference counter.


Maintainer:Charles Galambos, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002