DATAKIT API  V2025.1
Dtk_Log_Component_Info Class Reference

Public Member Functions

 Dtk_Log_Component_Info ()
 
 Dtk_Log_Component_Info (const Dtk_Log_Component_Info &inComponentInfo)
 
long GetFileSize () const
 Get file size of component. More...
 
const Dtk_stringGetFileVersion () const
 Get file version of component
More...
 
const Dtk_stringGetFullPathName () const
 Get full path name of component. More...
 
Dtk_bool GetIsAssembly () const
 Get if component is an assembly or a part
More...
 
Dtk_bool GetIsCatalog () const
 Get if component is a catalog or a not
More...
 
Dtk_bool GetIsInternal () const
 Get if component is internal
More...
 
const Dtk_stringGetName () const
 Get name of component. More...
 
const Dtk_stringGetPath ()
 Get path of component. More...
 
int GetQuantity () const
 Get number of instantiations of component
More...
 
Dtk_Double64 GetUnitScale () const
 Get unit scale of component. More...
 
Dtk_Log_Component_Infooperator= (const Dtk_Log_Component_Info &inComponentInfo)
 
void SetFileSize (long val)
 Set file size of component. More...
 
void SetFileVersion (const Dtk_string &val)
 Set file version of component. More...
 
void SetFullPathName (const Dtk_string &val)
 Set full path name of component. More...
 
void SetIsAssembly (Dtk_bool val)
 Set if component is an assembly or a part. More...
 
void SetIsCatalog (Dtk_bool val)
 Set if component is a catalog. More...
 
void SetIsInternal (Dtk_bool val)
 Set if component is internal. More...
 
void SetName (const Dtk_string &val)
 Set name of component. More...
 
void SetQuantity (int val)
 Set number of instantiations of component. More...
 
void SetUnitScale (Dtk_Double64 val)
 Set unit scale of component. More...
 
 ~Dtk_Log_Component_Info ()
 

Protected Attributes

Dtk_Handle * _Private
 

Constructor & Destructor Documentation

◆ Dtk_Log_Component_Info() [1/2]

Dtk_Log_Component_Info::Dtk_Log_Component_Info ( )

◆ Dtk_Log_Component_Info() [2/2]

Dtk_Log_Component_Info::Dtk_Log_Component_Info ( const Dtk_Log_Component_Info inComponentInfo)

◆ ~Dtk_Log_Component_Info()

Dtk_Log_Component_Info::~Dtk_Log_Component_Info ( )

Member Function Documentation

◆ GetFileSize()

long Dtk_Log_Component_Info::GetFileSize ( ) const

Get file size of component.

Returns
File size of component

◆ GetFileVersion()

const Dtk_string& Dtk_Log_Component_Info::GetFileVersion ( ) const

Get file version of component

Returns
File version of component

◆ GetFullPathName()

const Dtk_string& Dtk_Log_Component_Info::GetFullPathName ( ) const

Get full path name of component.

Returns
Full path name of component

◆ GetIsAssembly()

Dtk_bool Dtk_Log_Component_Info::GetIsAssembly ( ) const

Get if component is an assembly or a part

Returns
DTK_TRUE if it is an assembly, DTK_FALSE if it is a part

◆ GetIsCatalog()

Dtk_bool Dtk_Log_Component_Info::GetIsCatalog ( ) const

Get if component is a catalog or a not

Returns
DTK_TRUE if it is a catalog, DTK_FALSE if otherwise

◆ GetIsInternal()

Dtk_bool Dtk_Log_Component_Info::GetIsInternal ( ) const

Get if component is internal

Returns
DTK_TRUE if it is internal, DTK_FALSE otherwise

◆ GetName()

const Dtk_string& Dtk_Log_Component_Info::GetName ( ) const

Get name of component.

Returns
Name of component

◆ GetPath()

const Dtk_string& Dtk_Log_Component_Info::GetPath ( )

Get path of component.

Returns
Path of component

◆ GetQuantity()

int Dtk_Log_Component_Info::GetQuantity ( ) const

Get number of instantiations of component

Returns
Number of instantiations of component

◆ GetUnitScale()

Dtk_Double64 Dtk_Log_Component_Info::GetUnitScale ( ) const

Get unit scale of component.

Returns
Dtk_Double64 in millimeters

◆ operator=()

Dtk_Log_Component_Info& Dtk_Log_Component_Info::operator= ( const Dtk_Log_Component_Info inComponentInfo)

◆ SetFileSize()

void Dtk_Log_Component_Info::SetFileSize ( long  val)

Set file size of component.

Parameters
[in]inVal: File size of component

◆ SetFileVersion()

void Dtk_Log_Component_Info::SetFileVersion ( const Dtk_string val)

Set file version of component.

Parameters
[in]inVal: File version of component

◆ SetFullPathName()

void Dtk_Log_Component_Info::SetFullPathName ( const Dtk_string val)

Set full path name of component.

Parameters
[in]inVal: Full path name of component

◆ SetIsAssembly()

void Dtk_Log_Component_Info::SetIsAssembly ( Dtk_bool  val)

Set if component is an assembly or a part.

Parameters
[in]inVal: DTK_TRUE if it is an assembly, DTK_FALSE if it is a part

◆ SetIsCatalog()

void Dtk_Log_Component_Info::SetIsCatalog ( Dtk_bool  val)

Set if component is a catalog.

Parameters
[in]inVal: DTK_TRUE if it is a catalog, DTK_FALSE otherwise

◆ SetIsInternal()

void Dtk_Log_Component_Info::SetIsInternal ( Dtk_bool  val)

Set if component is internal.

Parameters
[in]inVal: DTK_TRUE if it is internal, DTK_FALSE otherswise

◆ SetName()

void Dtk_Log_Component_Info::SetName ( const Dtk_string val)

Set name of component.

Parameters
[in]inVal: Name of component

◆ SetQuantity()

void Dtk_Log_Component_Info::SetQuantity ( int  val)

Set number of instantiations of component.

Parameters
[in]inVal: Number of instantiations of component

◆ SetUnitScale()

void Dtk_Log_Component_Info::SetUnitScale ( Dtk_Double64  val)

Set unit scale of component.

Parameters
[in]inVal: Dtk_Double64 in millimeters

Field Documentation

◆ _Private

Dtk_Handle* Dtk_Log_Component_Info::_Private
protected