Version: 8.3.0
SALOMEDSImpl_UseCaseBuilder Class Reference

#include <SALOMEDSImpl_UseCaseBuilder.hxx>

Public Member Functions

 SALOMEDSImpl_UseCaseBuilder (DF_Document *theDocument)
 standard constructor More...
 
 ~SALOMEDSImpl_UseCaseBuilder ()
 standard destructor More...
 
virtual bool Append (const SALOMEDSImpl_SObject &theObject)
 Function : Append Purpose : More...
 
virtual bool Remove (const SALOMEDSImpl_SObject &theObject)
 Function : Remove Purpose : More...
 
virtual bool AppendTo (const SALOMEDSImpl_SObject &theFather, const SALOMEDSImpl_SObject &theObject)
 Function : AppendTo Purpose : More...
 
virtual bool InsertBefore (const SALOMEDSImpl_SObject &theFirst, const SALOMEDSImpl_SObject &theNext)
 Function : InsertBefore Purpose : More...
 
virtual bool SetCurrentObject (const SALOMEDSImpl_SObject &theObject)
 Function : SetCurrentObject Purpose : More...
 
virtual bool SetRootCurrent ()
 Function : SetRootCurrent Purpose : More...
 
virtual bool HasChildren (const SALOMEDSImpl_SObject &theObject)
 Function : HasChildren Purpose : More...
 
virtual bool SortChildren (const SALOMEDSImpl_SObject &theObject, bool theAscendingOrder)
 Function : SortChildren Purpose : More...
 
virtual SALOMEDSImpl_SObject GetFather (const SALOMEDSImpl_SObject &theObject)
 Function : GetFather Purpose : More...
 
virtual bool IsUseCase (const SALOMEDSImpl_SObject &theObject)
 Function : IsUseCase Purpose : More...
 
virtual bool IsUseCaseNode (const SALOMEDSImpl_SObject &theObject)
 Function : IsUseCaseNode Purpose : More...
 
virtual bool SetName (const std::string &theName)
 Function : SetName Purpose : More...
 
virtual SALOMEDSImpl_SObject GetCurrentObject ()
 Function : GetCurrentObject Purpose : More...
 
virtual std::string GetName ()
 Function : GetName Purpose : More...
 
virtual SALOMEDSImpl_SObject AddUseCase (const std::string &theName)
 Function : NewUseCase Purpose : More...
 
virtual
SALOMEDSImpl_UseCaseIterator 
GetUseCaseIterator (const SALOMEDSImpl_SObject &anObject)
 Function : GetUseCaseIterator Purpose : Creates a new UseCase iterator, if anObject is null all use cases are iterated. More...
 
SALOMEDSImpl_SObject GetSObject (const std::string &theEntry)
 

Private Attributes

SALOMEDSImpl_AttributeTreeNode_root
 
DF_Document_doc
 

Constructor & Destructor Documentation

SALOMEDSImpl_UseCaseBuilder::~SALOMEDSImpl_UseCaseBuilder ( )

standard destructor

Function : destructor Purpose :

Member Function Documentation

std::string SALOMEDSImpl_UseCaseBuilder::GetName ( )
virtual
SALOMEDSImpl_UseCaseIterator SALOMEDSImpl_UseCaseBuilder::GetUseCaseIterator ( const SALOMEDSImpl_SObject anObject)
virtual

Function : GetUseCaseIterator Purpose : Creates a new UseCase iterator, if anObject is null all use cases are iterated.

References _doc, DF_Label::FindChild(), SALOMEDSImpl_SObject::GetLabel(), DF_Document::Main(), DF_Label::Root(), USE_CASE_GUID, and USE_CASE_LABEL_TAG.

Referenced by SALOMEDS_UseCaseBuilder_i::GetUseCaseIterator(), and main().

bool SALOMEDSImpl_UseCaseBuilder::IsUseCase ( const SALOMEDSImpl_SObject theObject)
virtual
bool SALOMEDSImpl_UseCaseBuilder::SetName ( const std::string &  theName)
virtual

Field Documentation

DF_Document* SALOMEDSImpl_UseCaseBuilder::_doc
private