Back to index

salome-kernel  6.5.0
Public Member Functions | Static Public Member Functions | Private Attributes
SALOMEDSImpl_AttributeString Class Reference

#include <SALOMEDSImpl_AttributeString.hxx>

Collaboration diagram for SALOMEDSImpl_AttributeString:
Collaboration graph
[legend]

List of all members.

Public Member Functions

Standard_EXPORT SALOMEDSImpl_AttributeString ()
Standard_EXPORT void SetValue (const std::string &S)
Standard_EXPORT std::string Value () const
virtual Standard_EXPORT std::string Save ()
virtual Standard_EXPORT void Load (const std::string &theValue)
Standard_EXPORT const std::string & ID () const
Standard_EXPORT void Restore (DF_Attribute *with)
Standard_EXPORT DF_AttributeNewEmpty () const
Standard_EXPORT void Paste (DF_Attribute *into)
Standard_EXPORT ~SALOMEDSImpl_AttributeString ()

Static Public Member Functions

static Standard_EXPORT const
std::string & 
GetID ()
static Standard_EXPORT
SALOMEDSImpl_AttributeString
Set (const DF_Label &L, const std::string &Val)

Private Attributes

std::string myString

Detailed Description

Definition at line 36 of file SALOMEDSImpl_AttributeString.hxx.


Constructor & Destructor Documentation

Definition at line 46 of file SALOMEDSImpl_AttributeString.hxx.

:SALOMEDSImpl_GenericAttribute("AttributeString") {}

Here is the caller graph for this function:

Definition at line 59 of file SALOMEDSImpl_AttributeString.hxx.

{}

Member Function Documentation

const std::string & SALOMEDSImpl_AttributeString::GetID ( ) [static]

Definition at line 33 of file SALOMEDSImpl_AttributeString.cxx.

{
  static std::string CommentID ("1808A12F-AD0E-4a6a-B58A-395DCF469FE9");
  return CommentID;
}   

Here is the caller graph for this function:

const std::string & SALOMEDSImpl_AttributeString::ID ( ) const

Definition at line 75 of file SALOMEDSImpl_AttributeString.cxx.

{ return GetID(); } 

Here is the call graph for this function:

virtual Standard_EXPORT void SALOMEDSImpl_AttributeString::Load ( const std::string &  theValue) [inline, virtual]

Definition at line 53 of file SALOMEDSImpl_AttributeString.hxx.

{ myString = theValue; }

Definition at line 81 of file SALOMEDSImpl_AttributeString.cxx.

{  
  return new SALOMEDSImpl_AttributeString(); 
}

Here is the call graph for this function:

Definition at line 100 of file SALOMEDSImpl_AttributeString.cxx.

{
  dynamic_cast<SALOMEDSImpl_AttributeString*>(into)->SetValue(myString);
}

Here is the call graph for this function:

Definition at line 90 of file SALOMEDSImpl_AttributeString.cxx.

{
  myString = dynamic_cast<SALOMEDSImpl_AttributeString*>(with)->Value ();
}

Here is the call graph for this function:

virtual Standard_EXPORT std::string SALOMEDSImpl_AttributeString::Save ( ) [inline, virtual]

Definition at line 52 of file SALOMEDSImpl_AttributeString.hxx.

{ return myString; }
SALOMEDSImpl_AttributeString * SALOMEDSImpl_AttributeString::Set ( const DF_Label L,
const std::string &  Val 
) [static]

Definition at line 39 of file SALOMEDSImpl_AttributeString.cxx.

Here is the call graph for this function:

void SALOMEDSImpl_AttributeString::SetValue ( const std::string &  S)

Definition at line 57 of file SALOMEDSImpl_AttributeString.cxx.

{
  CheckLocked();

  if(myString == S) return;

  Backup();

  myString = S;
  
  SetModifyFlag(); //SRN: Mark the study as being modified, so it could be saved 
}

Here is the caller graph for this function:

Standard_EXPORT std::string SALOMEDSImpl_AttributeString::Value ( ) const [inline]

Definition at line 50 of file SALOMEDSImpl_AttributeString.hxx.

{ return myString; }

Here is the caller graph for this function:


Member Data Documentation

Definition at line 40 of file SALOMEDSImpl_AttributeString.hxx.


The documentation for this class was generated from the following files: