Back to index

salome-med  6.5.0
Public Types | Public Member Functions
MED::TTFieldInfo< eVersion > Struct Template Reference

#include <MED_TStructures.hxx>

Inheritance diagram for MED::TTFieldInfo< eVersion >:
Inheritance graph
[legend]
Collaboration diagram for MED::TTFieldInfo< eVersion >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef TTNameInfo< eVersion > TNameInfoBase

Public Member Functions

 TTFieldInfo (const PMeshInfo &theMeshInfo, const PFieldInfo &theInfo)
 TTFieldInfo (const PMeshInfo &theMeshInfo, TInt theNbComp, ETypeChamp theType, const std::string &theValue, EBooleen theIsLocal, TInt theNbRef)
virtual std::string GetCompName (TInt theId) const
virtual void SetCompName (TInt theId, const std::string &theValue)
virtual std::string GetUnitName (TInt theId) const
virtual void SetUnitName (TInt theId, const std::string &theValue)
virtual std::string GetName () const
virtual void SetName (const std::string &theValue)
virtual void SetName (const TString &theValue)

Detailed Description

template<EVersion eVersion>
struct MED::TTFieldInfo< eVersion >

Definition at line 768 of file MED_TStructures.hxx.


Member Typedef Documentation

template<EVersion eVersion>
typedef TTNameInfo<eVersion> MED::TTFieldInfo< eVersion >::TNameInfoBase

Definition at line 772 of file MED_TStructures.hxx.


Constructor & Destructor Documentation

template<EVersion eVersion>
MED::TTFieldInfo< eVersion >::TTFieldInfo ( const PMeshInfo theMeshInfo,
const PFieldInfo theInfo 
) [inline]

Definition at line 774 of file MED_TStructures.hxx.

                                                                        :
      TNameInfoBase(theInfo->GetName())
    {
      myMeshInfo = theMeshInfo;

      myNbComp = theInfo->GetNbComp();
      myCompNames.resize(myNbComp*GetPNOMLength<eVersion>()+1);
      for(TInt anId = 0; anId < myNbComp; anId++){
        SetCompName(anId,theInfo->GetCompName(anId));
      }

      myUnitNames.resize(myNbComp*GetPNOMLength<eVersion>()+1);
      for(TInt anId = 0; anId < myNbComp; anId++){
        SetUnitName(anId,theInfo->GetUnitName(anId));
      }

      myType = theInfo->GetType();

      myIsLocal = theInfo->GetIsLocal();
      myNbRef = theInfo->GetNbRef();
    }

Here is the call graph for this function:

template<EVersion eVersion>
MED::TTFieldInfo< eVersion >::TTFieldInfo ( const PMeshInfo theMeshInfo,
TInt  theNbComp,
ETypeChamp  theType,
const std::string &  theValue,
EBooleen  theIsLocal,
TInt  theNbRef 
) [inline]

Definition at line 796 of file MED_TStructures.hxx.

                              :
      TNameInfoBase(theValue)
    {
      myMeshInfo = theMeshInfo;

      myNbComp = theNbComp;
      myCompNames.resize(theNbComp*GetPNOMLength<eVersion>()+1);
      myUnitNames.resize(theNbComp*GetPNOMLength<eVersion>()+1);

      myType = theType;

      myIsLocal = theIsLocal;
      myNbRef = theNbRef;
    }

Member Function Documentation

template<EVersion eVersion>
virtual std::string MED::TTFieldInfo< eVersion >::GetCompName ( TInt  theId) const [inline, virtual]

Definition at line 818 of file MED_TStructures.hxx.

    { 
      return GetString(theId,GetPNOMLength<eVersion>(),myCompNames);
    }

Here is the call graph for this function:

template<EVersion eVersion>
virtual std::string MED::TTNameInfo< eVersion >::GetName ( ) const [inline, virtual, inherited]

Definition at line 110 of file MED_TStructures.hxx.

    { 
      return GetString(0, GetNOMLength<eVersion>(), myName);
    }

Here is the call graph for this function:

template<EVersion eVersion>
virtual std::string MED::TTFieldInfo< eVersion >::GetUnitName ( TInt  theId) const [inline, virtual]

Definition at line 832 of file MED_TStructures.hxx.

    { 
      return GetString(theId,GetPNOMLength<eVersion>(),myUnitNames);
    }

Here is the call graph for this function:

template<EVersion eVersion>
virtual void MED::TTFieldInfo< eVersion >::SetCompName ( TInt  theId,
const std::string &  theValue 
) [inline, virtual]

Definition at line 825 of file MED_TStructures.hxx.

    {
      SetString(theId,GetPNOMLength<eVersion>(),myCompNames,theValue);
    }

Here is the call graph for this function:

Here is the caller graph for this function:

template<EVersion eVersion>
virtual void MED::TTNameInfo< eVersion >::SetName ( const std::string &  theValue) [inline, virtual, inherited]

Definition at line 117 of file MED_TStructures.hxx.

    {
      SetString(0, GetNOMLength<eVersion>(), myName, theValue);
    }

Here is the call graph for this function:

Here is the caller graph for this function:

template<EVersion eVersion>
virtual void MED::TTNameInfo< eVersion >::SetName ( const TString theValue) [inline, virtual, inherited]

Definition at line 124 of file MED_TStructures.hxx.

    {
      SetString(0, GetNOMLength<eVersion>(), myName, theValue);
    }

Here is the call graph for this function:

template<EVersion eVersion>
virtual void MED::TTFieldInfo< eVersion >::SetUnitName ( TInt  theId,
const std::string &  theValue 
) [inline, virtual]

Definition at line 839 of file MED_TStructures.hxx.

    {
      SetString(theId,GetPNOMLength<eVersion>(),myUnitNames,theValue);
    }

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this struct was generated from the following file: