0022807: Loading of STEP entities in model during reading of STEP file requires redun...
[occt.git] / src / Interface / Interface_TypedValue.cxx
1 #include <Interface_TypedValue.ixx>
2
3 #include <Dico_DictionaryOfInteger.hxx>
4 #include <Dico_IteratorOfDictionaryOfInteger.hxx>
5
6 #include <OSD_Path.hxx>
7 #include <stdio.h>
8
9
10 //static  char defmess[30]; svv #2
11
12
13 //  Fonctions Satisfies offertes en standard ...
14
15 // svv#2
16 //static Standard_Boolean StaticPath(const Handle(TCollection_HAsciiString)& val)
17 //{
18 //  OSD_Path apath;
19 //  return apath.IsValid (TCollection_AsciiString(val->ToCString()));
20 //}
21
22
23     Interface_TypedValue::Interface_TypedValue
24   (const Standard_CString name,
25    const Interface_ParamType type, const Standard_CString init)
26     : MoniTool_TypedValue (name,
27                            Interface_TypedValue::ParamTypeToValueType(type),
28                            init)    {  }
29
30     Interface_ParamType  Interface_TypedValue::Type () const
31       {  return ValueTypeToParamType (ValueType());  }
32
33     MoniTool_ValueType  Interface_TypedValue::ParamTypeToValueType
34   (const Interface_ParamType type)
35       {  return (MoniTool_ValueType) type;  }  // meme valeurs
36
37     Interface_ParamType  Interface_TypedValue::ValueTypeToParamType
38   (const MoniTool_ValueType type)
39       {  return (Interface_ParamType) type;  }  // meme valeurs