Open CASCADE Technology
6.5.4
|
#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_Interface_Static.hxx>
#include <TCollection_AsciiString.hxx>
#include <Interface_ParamType.hxx>
#include <Handle_Standard_Type.hxx>
#include <Standard_Integer.hxx>
#include <Standard_Real.hxx>
#include <Handle_TColStd_HArray1OfAsciiString.hxx>
#include <Handle_Dico_DictionaryOfInteger.hxx>
#include <Interface_StaticSatisfies.hxx>
#include <Standard_Boolean.hxx>
#include <Handle_TCollection_HAsciiString.hxx>
#include <Handle_Standard_Transient.hxx>
#include <Interface_TypedValue.hxx>
#include <Standard_CString.hxx>
#include <Handle_Message_Messenger.hxx>
#include <Standard_Character.hxx>
#include <Handle_TColStd_HSequenceOfHAsciiString.hxx>
Data Structures | |
class | Interface_Static |
This class gives a way to manage meaningfull static variables, used as "global" parameters in various procedures. A Static brings a specification (its type, constraints if any) and a value. Its basic form is a string, it can be specified as integer or real or enumerative string, and queried as such. Its string content, which is a Handle(HAsciiString) can be shared by other data structures, hence gives a direct on line access to its value. All this description is inherited from TypedValue A Static can be given an initial value, it can be filled from, either a set of Resources (an applicative feature which accesses and manages parameter files), or environment or internal definition : these define families of Static. In addition, it supports a status for reinitialisation : an initialisation procedure can ask if the value of the Static has changed from its last call, in this case does something then marks the Status "uptodate", else it does nothing. Statics are named and recorded then accessed in an alphabetic dictionary More... |