  | 
  
    DATAKIT API
    V2025.4
    
   
   | 
           
 | 
 
 
 
 
This class provides several informations about a CatiaV5 File.
It can be used with catiav5w::InitPart and catiav5w::InitProduct functions to specify file properties.  
 More...
This class provides several informations about a CatiaV5 File.
It can be used with catiav5w::InitPart and catiav5w::InitProduct functions to specify file properties. 
  
◆ ProductSourceType
| Enumerator | 
|---|
| Unknown  |  | 
| Made  |  | 
| Bought  |  | 
 
 
◆ FileDescription()
      
        
          | catiav5w::FileDescription::FileDescription  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ ~FileDescription()
      
        
          | catiav5w::FileDescription::~FileDescription  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ AddBooleanProperty()
      
        
          | void catiav5w::FileDescription::AddBooleanProperty  | 
          ( | 
          const Dtk_string &  | 
          inPropertyName,  | 
        
        
           | 
           | 
          const Dtk_bool &  | 
          inValue  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Adds an additional integer property. 
  329                TmpProp->SetTitle( inPropertyName );
 
  330                TmpProp->SetAsBoolean();
 
  331                TmpProp->SetValue( TmpValue );
 
 
 
 
◆ AddDoubleProperty()
      
        
          | void catiav5w::FileDescription::AddDoubleProperty  | 
          ( | 
          const Dtk_string &  | 
          inPropertyName,  | 
        
        
           | 
           | 
          const double &  | 
          inValue  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Adds an additional double property. 
  302                TmpProp->SetTitle( inPropertyName );
 
  303                TmpProp->SetAsReal();
 
  304                TmpProp->SetValue( TmpValue );
 
 
 
 
◆ AddIntegerProperty()
      
        
          | void catiav5w::FileDescription::AddIntegerProperty  | 
          ( | 
          const Dtk_string &  | 
          inPropertyName,  | 
        
        
           | 
           | 
          const Dtk_Int32 &  | 
          inValue  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Adds an additional integer property. 
  315                TmpProp->SetTitle( inPropertyName );
 
  316                TmpProp->SetAsInteger();
 
  317                TmpProp->SetValue( TmpValue );
 
 
 
 
◆ AddStringProperty()
      
        
          | void catiav5w::FileDescription::AddStringProperty  | 
          ( | 
          const Dtk_string &  | 
          inPropertyName,  | 
        
        
           | 
           | 
          const Dtk_string &  | 
          inValue  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Adds an additional integer property. 
  340                TmpProp->SetTitle( inPropertyName );
 
  341                TmpProp->SetType( L
"STRING" );
 
  342                TmpProp->SetValue( inValue );
 
 
 
 
◆ GetDefinition()
      
        
          | const Dtk_string& catiav5w::FileDescription::GetDefinition  | 
          ( | 
           | ) | 
           const | 
        
      
 
Retrieves the file definition - read only -. 
- Returns
 - The file definition 
 
- See also
 - SetDefinition() 
 
 
 
◆ GetDescription()
      
        
          | const Dtk_string& catiav5w::FileDescription::GetDescription  | 
          ( | 
           | ) | 
           const | 
        
      
 
Retrieves the file description - read only -. 
- Returns
 - The file description 
 
- See also
 - SetDescription() 
 
 
 
◆ GetIthAdditionalProperties()
Retrieves the file source type - read only -. 
- Returns
 - The file source type 
 
- See also
 - SetSourceType() 
 
 
 
◆ GetNomenclature()
      
        
          | const Dtk_string& catiav5w::FileDescription::GetNomenclature  | 
          ( | 
           | ) | 
           const | 
        
      
 
Retrieves the file nomenclature - read only -. 
- Returns
 - The file nomenclature 
 
- See also
 - SetNomenclature() 
 
 
 
◆ GetNumAdditionalProperties()
      
        
          | Dtk_Size_t catiav5w::FileDescription::GetNumAdditionalProperties  | 
          ( | 
           | ) | 
           const | 
        
      
 
Retrieves the file source type - read only -. 
- Returns
 - The file source type 
 
- See also
 - SetSourceType() 
 
 
 
◆ GetPartMaterial()
Retrieves the file root material - read only -. 
- Returns
 - The file root material 
 
- See also
 - SetPartMaterial() 
 
 
 
◆ GetRevision()
      
        
          | const Dtk_string& catiav5w::FileDescription::GetRevision  | 
          ( | 
           | ) | 
           const | 
        
      
 
Retrieves the file revision - read only -. 
- Returns
 - The file revision 
 
- See also
 - SetRevision() 
 
 
 
◆ GetSourceType()
Retrieves the file source type - read only -. 
- Returns
 - The file source type 
 
- See also
 - SetSourceType() 
 
 
 
◆ SetAsDeprecated() [1/2]
      
        
          | catiav5w::FileDescription::SetAsDeprecated  | 
          ( | 
          "2023.4"  | 
          ,  | 
        
        
           | 
           | 
          "Use GetPartMaterial method instead."  | 
            | 
        
        
           | 
          ) | 
           |  const | 
        
      
 
Retrieves the Part Density - read only -. 
- Returns
 - The Part Density 
 
- See also
 - SetPartDensity() 
 
- Deprecated:
 - Use GetPartMaterial method instead. 
 
 
 
◆ SetAsDeprecated() [2/2]
      
        
          | catiav5w::FileDescription::SetAsDeprecated  | 
          ( | 
          "2023.4"  | 
          ,  | 
        
        
           | 
           | 
          "Use SetPartMaterial with Analysis::Density instead."  | 
            | 
        
        
           | 
          ) | 
           |  const | 
        
      
 
Sets the Part Density. 
- See also
 - GetPartDensity() 
 
- Deprecated:
 - Use SetPartMaterial with Analysis::Density instead. 
 
 
 
◆ SetDefinition()
      
        
          | void catiav5w::FileDescription::SetDefinition  | 
          ( | 
          const Dtk_string &  | 
          inDefinition | ) | 
           | 
        
      
 
 
◆ SetDescription()
      
        
          | void catiav5w::FileDescription::SetDescription  | 
          ( | 
          const Dtk_string &  | 
          inDescription | ) | 
           | 
        
      
 
 
◆ SetNomenclature()
      
        
          | void catiav5w::FileDescription::SetNomenclature  | 
          ( | 
          const Dtk_string &  | 
          inNomenclature | ) | 
           | 
        
      
 
 
◆ SetPartMaterial()
◆ SetRevision()
      
        
          | void catiav5w::FileDescription::SetRevision  | 
          ( | 
          const Dtk_string &  | 
          inRevision | ) | 
           | 
        
      
 
 
◆ SetSourceType()
      
        
          | void catiav5w::FileDescription::SetSourceType  | 
          ( | 
          const ProductSourceType &  | 
          inSourceType | ) | 
           | 
        
      
 
 
◆ _AdditionalProperties
◆ _Definition
Definition of the CatiaV5 File. 
 
 
◆ _Description
  
  
      
        
          | Dtk_string catiav5w::FileDescription::_Description | 
         
       
   | 
  
protected   | 
  
 
Description of the CatiaV5 File. 
 
 
◆ _Nomenclature
  
  
      
        
          | Dtk_string catiav5w::FileDescription::_Nomenclature | 
         
       
   | 
  
protected   | 
  
 
Nomenclature of the CatiaV5 File. 
 
 
◆ _PartDensity
◆ _Revision
Revision of the CatiaV5 File. 
 
 
◆ _SourceType
Source Type of the CatiaV5 File. 
 
 
◆ m_PartMaterial
  
  
      
        
          | Material catiav5w::FileDescription::m_PartMaterial | 
         
       
   | 
  
protected   | 
  
 
 
 
 
void SetDefinition(const Dtk_string &inDefinition)
Sets the file definition.
Definition: catiav5w.hpp:261
 
Dtk_string _Nomenclature
Nomenclature of the CatiaV5 File.
Definition: catiav5w.hpp:222
 
void SetNomenclature(const Dtk_string &inNomenclature)
Sets the file nomenclature.
Definition: catiav5w.hpp:268
 
ProductSourceType _SourceType
Source Type of the CatiaV5 File.
Definition: catiav5w.hpp:226
 
This is a high level string class.
Definition: dtk_string.hpp:58
 
void convert_from_int(const int integer, int force_unsigned_int=0)
affectation operator from a int
 
Definition: dtk_uuid.hpp:8
 
This class provides several informations about a CatiaV5 File. It can be used with catiav5w::InitPart...
Definition: catiav5w.hpp:205
 
@ Unknown
Definition: catiav5w.hpp:210
 
Dtk_Double64 _PartDensity
Definition: catiav5w.hpp:230
 
void SetRevision(const Dtk_string &inRevision)
Sets the file revision.
Definition: catiav5w.hpp:254
 
const Dtk_string & inReferenceName
Definition: catiav5w.hpp:459
 
Dtk_ErrorStatus InitPart(const Dtk_string &inOutputFile, const Dtk_string &inReferenceName, Dtk_UUID &outPartUUID, const catiav5w::FileDescription &inFileDescription=catiav5w::FileDescription())
Initialize the part
 
Dtk_string _Definition
Definition of the CatiaV5 File.
Definition: catiav5w.hpp:220
 
Material m_PartMaterial
Definition: catiav5w.hpp:216
 
static Dtk_PropertiesPtr create()
 
void SetSourceType(const ProductSourceType &inSourceType)
Sets the file source type.
Definition: catiav5w.hpp:282
 
@ Bought
Definition: catiav5w.hpp:212
 
Definition: util_ptr_dtk.hpp:37
 
Dtk_string _Revision
Revision of the CatiaV5 File.
Definition: catiav5w.hpp:218
 
@ Made
Definition: catiav5w.hpp:211
 
Dtk_tab< Dtk_PropertiesPtr > _AdditionalProperties
Definition: catiav5w.hpp:228
 
void SetDescription(const Dtk_string &inDescription)
Sets the file description.
Definition: catiav5w.hpp:275
 
Dtk_string _Description
Description of the CatiaV5 File.
Definition: catiav5w.hpp:224