Open CASCADE Technology 6.6.0
|
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>
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_Graph & | Graph () 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 () |
Transfer_TransientProcess::Transfer_TransientProcess | ( | const Standard_Integer | nb = 10000 | ) |
virtual Standard_Integer Transfer_TransientProcess::CheckNum | ( | const Handle< Standard_Transient > & | ent | ) | const [virtual] |
Reimplemented from Transfer_ProcessForTransient.
Handle_Dico_DictionaryOfTransient& Transfer_TransientProcess::Context | ( | ) |
Standard_Boolean Transfer_TransientProcess::GetContext | ( | const Standard_CString | name, |
const Handle< Standard_Type > & | type, | ||
Handle< Standard_Transient > & | ctx | ||
) | const |
const Interface_Graph& Transfer_TransientProcess::Graph | ( | ) | const |
Standard_Boolean Transfer_TransientProcess::HasGraph | ( | ) | const |
Handle_Interface_HGraph Transfer_TransientProcess::HGraph | ( | ) | const |
Standard_Boolean Transfer_TransientProcess::IsDataFail | ( | const Handle< Standard_Transient > & | ent | ) | const |
Standard_Boolean Transfer_TransientProcess::IsDataLoaded | ( | const Handle< Standard_Transient > & | ent | ) | const |
Handle_Interface_InterfaceModel Transfer_TransientProcess::Model | ( | ) | const |
void Transfer_TransientProcess::PrintStats | ( | const Standard_Integer | mode, |
const Handle< Message_Messenger > & | S | ||
) | const |
virtual void Transfer_TransientProcess::PrintTrace | ( | const Handle< Standard_Transient > & | start, |
const Handle< Message_Messenger > & | S | ||
) | const [virtual] |
Reimplemented from Transfer_ProcessForTransient.
Handle_TColStd_HSequenceOfTransient Transfer_TransientProcess::RootsForTransfer | ( | ) |
void Transfer_TransientProcess::SetContext | ( | const Standard_CString | name, |
const Handle< Standard_Transient > & | ctx | ||
) |
void Transfer_TransientProcess::SetGraph | ( | const Handle< Interface_HGraph > & | HG | ) |
void Transfer_TransientProcess::SetModel | ( | const Handle< Interface_InterfaceModel > & | model | ) |
Interface_EntityIterator Transfer_TransientProcess::TypedSharings | ( | const Handle< Standard_Transient > & | start, |
const Handle< Standard_Type > & | type | ||
) | const |