Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
Transfer_TransientProcess Class Reference

Adds specific features to the generic definition :
TransientProcess is intended to work from an InterfaceModel
to a set of application objects.

Hence, some informations about starting entities can be gotten
from the model : for Trace, CheckList, Integrity Status

#include <Transfer_TransientProcess.hxx>

Inheritance diagram for Transfer_TransientProcess:
Inheritance graph
[legend]

Public Member Functions

 Transfer_TransientProcess (const Standard_Integer nb=10000)
 Sets TransientProcess at initial state, with an initial size

void SetModel (const Handle< Interface_InterfaceModel > &model)
 Sets an InterfaceModel, used by StartTrace, CheckList, queries
on Integrity, to give informations significant for each norm.

Handle_Interface_InterfaceModel Model () const
 Returns the Model used for StartTrace

void SetGraph (const Handle< Interface_HGraph > &HG)
 Sets a Graph : superseedes SetModel if already done

Standard_Boolean HasGraph () const
Handle_Interface_HGraph HGraph () const
const Interface_GraphGraph () const
void SetContext (const Standard_CString name, const Handle< Standard_Transient > &ctx)
 Sets a Context : according to receiving appli, to be
interpreted by the Actor

Standard_Boolean GetContext (const Standard_CString name, const Handle< Standard_Type > &type, Handle< Standard_Transient > &ctx) const
 Returns the Context attached to a name, if set and if it is
Kind of the type, else a Null Handle
Returns True if OK, False if no Context

Handle_Dico_DictionaryOfTransient & Context ()
 Returns (modifiable) the whole definition of Context
Rather for internal use (ex.: preparing and setting in once)

virtual void PrintTrace (const Handle< Standard_Transient > &start, const Handle< Message_Messenger > &S) const
 Specific printing to trace an entity : prints label and type
(if model is set)

virtual Standard_Integer CheckNum (const Handle< Standard_Transient > &ent) const
 Specific number of a starting object for check-list : Number
in model

Interface_EntityIterator TypedSharings (const Handle< Standard_Transient > &start, const Handle< Standard_Type > &type) const
 Returns the list of sharings entities, AT ANY LEVEL, which are
kind of a given type. Calls TypedSharings from Graph
Returns an empty list if the Graph has not been aknowledged

Standard_Boolean IsDataLoaded (const Handle< Standard_Transient > &ent) const
 Tells if an entity is well loaded from file (even if its data
fail on checking, they are present). Mostly often, answers
True. Else, there was a syntactic error in the file.
A non-loaded entity MAY NOT BE transferred, unless its Report
(in the model) is interpreted

Standard_Boolean IsDataFail (const Handle< Standard_Transient > &ent) const
 Tells if an entity fails on data checking (load time,
syntactic, or semantic check). Normally, should answer False.
It is not prudent to try transferring an entity which fails on
data checking

void PrintStats (const Standard_Integer mode, const Handle< Message_Messenger > &S) const
 Prints statistics on a given output, according mode

Handle_TColStd_HSequenceOfTransient RootsForTransfer ()

Constructor & Destructor Documentation


Member Function Documentation

Reimplemented from Transfer_ProcessForTransient.

Handle_Dico_DictionaryOfTransient& Transfer_TransientProcess::Context ( )
Handle_Interface_HGraph Transfer_TransientProcess::HGraph ( ) const
Handle_Interface_InterfaceModel Transfer_TransientProcess::Model ( ) const

Reimplemented from Transfer_ProcessForTransient.

Handle_TColStd_HSequenceOfTransient Transfer_TransientProcess::RootsForTransfer ( )

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