Version: 9.15.0
SALOMEDS_AttLong_i Class Reference

#include <SALOMEDS_AttLong_i.hxx>

Inheritance diagram for SALOMEDS_AttLong_i:

Public Member Functions

 SALOMEDS_AttLong_i ()
 
 ~SALOMEDS_AttLong_i ()
 
void Set (CORBA::Long i)
 Function : Set Purpose : Affect a value to the basic attribute. More...
 
CORBA::Long Get ()
 Function : Get Purpose : Get basic attribute's value. More...
 
virtual char * Save ()
 Function : Save Purpose : More...
 
virtual void Load ()
 Function : Load Purpose : More...
 
CORBA::Boolean GetPtr (SALOMEDS::SObject_ptr so)
 Function : GetPtr Purpose : return sobject associated to the basic attribute (if exist) More...
 
virtual char * GetType ()
 Function : GetType Purpose : More...
 
CORBA::Boolean GetPtr (SALOMEDS::SObject so)
 
void SetLabel (const DF_Label &Lab)
 Function : SetLabel Purpose : More...
 

Protected Attributes

char * _type
 
DF_Label _Lab
 

Constructor & Destructor Documentation

◆ SALOMEDS_AttLong_i()

SALOMEDS_AttLong_i::SALOMEDS_AttLong_i ( )

References _type.

◆ ~SALOMEDS_AttLong_i()

SALOMEDS_AttLong_i::~SALOMEDS_AttLong_i ( )

Member Function Documentation

◆ Get()

CORBA::Long SALOMEDS_AttLong_i::Get ( )

Function : Get Purpose : Get basic attribute's value.

References SALOMEDS_BasicAttribute_i::_Lab, DF_Label::FindAttribute(), and SALOMEDSImpl_AttributeInteger::GetID().

Referenced by Save().

◆ GetPtr() [1/2]

CORBA::Boolean SALOMEDS_BasicAttribute_i::GetPtr ( SALOMEDS::SObject  so)
inherited

◆ GetPtr() [2/2]

CORBA::Boolean SALOMEDS_AttLong_i::GetPtr ( SALOMEDS::SObject_ptr  so)

Function : GetPtr Purpose : return sobject associated to the basic attribute (if exist)

References SALOMEDS_BasicAttribute_i::_Lab, SALOMEDSImpl_AttributeInteger::GetID(), and DF_Label::IsAttribute().

◆ GetType()

char * SALOMEDS_AttLong_i::GetType ( )
virtual

Function : GetType Purpose :

Implements SALOMEDS_BasicAttribute_i.

References _type.

◆ Load()

void SALOMEDS_AttLong_i::Load ( )
virtual

Function : Load Purpose :

Implements SALOMEDS_BasicAttribute_i.

References SALOME_utilities::BEGIN_OF().

Referenced by SALOME_DriverPy.SALOME_DriverPy_i::LoadASCII().

◆ Save()

char * SALOMEDS_AttLong_i::Save ( )
virtual

Function : Save Purpose :

Implements SALOMEDS_BasicAttribute_i.

References SALOME_utilities::BEGIN_OF(), Get(), and out.

Referenced by SALOME_DriverPy.SALOME_DriverPy_i::SaveASCII().

◆ Set()

void SALOMEDS_AttLong_i::Set ( CORBA::Long  i)

Function : Set Purpose : Affect a value to the basic attribute.

References SALOMEDS_BasicAttribute_i::_Lab, and SALOMEDSImpl_AttributeInteger::Set().

◆ SetLabel()

void SALOMEDS_BasicAttribute_i::SetLabel ( const DF_Label Lab)
inherited

Function : SetLabel Purpose :

References SALOMEDS_BasicAttribute_i::_Lab.

Field Documentation

◆ _Lab

◆ _type