Version: 6.3.1
Functions

src/MEDMEMCppTest/MEDMEMTest_Family.cxx File Reference

#include "MEDMEMTest.hxx"
#include <cppunit/TestAssert.h>
#include "MEDMEM_define.hxx"
#include "MEDMEM_Family.hxx"
#include "MEDMEM_MedMeshDriver.hxx"
#include "MEDMEM_Mesh.hxx"
#include "MEDMEM_Support.hxx"
#include <sstream>
#include <cmath>
Include dependency graph for MEDMEMTest_Family.cxx:

Functions

static void check_support (const SUPPORT *theSupport, string theName, string theDescr, MED_EN::medEntityMesh theEntity, int theNbTypes)
static void check_famille (const FAMILY *theFamily, string theName, string theDescr, MED_EN::medEntityMesh theEntity, int theNbTypes, int theID, int theNbAttributes, int theNbGroups)

Function Documentation

static void check_support ( const SUPPORT theSupport,
string  theName,
string  theDescr,
MED_EN::medEntityMesh  theEntity,
int  theNbTypes 
) [static]

Check methods (24), defined in MEDMEM_Family.hxx: class FAMILY : virtual public SUPPORT { (+) FAMILY(); (+) FAMILY(MESH* Mesh, int Identifier, string Name, int NumberOfAttribute, int *AttributeIdentifier, int *AttributeValue, string AttributeDescription, int NumberOfGroup, string GroupName, int * MEDArrayNodeFamily, int ** MEDArrayCellFamily, int ** MEDArrayFaceFamily, int ** MEDArrayEdgeFamily); (+) FAMILY(const FAMILY & m); (+) FAMILY(const SUPPORT & s); (+) virtual ~FAMILY();

// Does not work (Segmentation Fault of Hang up) (!) FAMILY & operator=(const FAMILY &fam);

(+) friend ostream & operator<<(ostream &os, FAMILY &my); (+) friend ostream & operator<<(ostream &os, const FAMILY &my);

(+) bool build(MED_EN.medEntityMesh Entity,int **FamilyNumber);

(+) inline void setIdentifier (int Identifier); (+) inline void setNumberOfAttributes (int NumberOfAttribute); (+) inline void setAttributesIdentifiers (int * AttributeIdentifier); (+) inline void setAttributesValues (int * AttributeValue); (+) inline void setAttributesDescriptions (string * AttributeDescription); (+) inline void setNumberOfGroups (int NumberOfGroups); (+) inline void setGroupsNames (string * GroupName);

(+) inline int getIdentifier() const; (+) inline int getNumberOfAttributes() const; (+) inline const int * getAttributesIdentifiers() const; (+) inline const int * getAttributesValues() const; (+) inline const string * getAttributesDescriptions() const; (+) inline int getNumberOfGroups() const; (+) inline const string * getGroupsNames() const;

(+) inline int getAttributeIdentifier(int i) const; (+) inline int getAttributeValue(int i) const; (+) inline string getAttributeDescription(int i) const; (+) inline string getGroupName(int i) const; }

Use code of MEDMEM/test_copie_family.cxx

References MEDMEM.SUPPORT.getDescription(), MEDMEM.SUPPORT.getEntity(), MEDMEM.SUPPORT.getName(), and MEDMEM.SUPPORT.getNumberOfTypes().

static void check_famille ( const FAMILY theFamily,
string  theName,
string  theDescr,
MED_EN::medEntityMesh  theEntity,
int  theNbTypes,
int  theID,
int  theNbAttributes,
int  theNbGroups 
) [static]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS