Version: 6.3.1
Public Member Functions | Protected Member Functions | Protected Attributes | Friends

MEDMEM.GROUP Class Reference

#include <MEDMEM_Group.hxx>

Inheritance diagram for MEDMEM.GROUP:
Inheritance graph

Public Member Functions

 GROUP ()
 GROUP (const std::string &name, const std::list< FAMILY * > &family) throw (MEDEXCEPTION)
 GROUP (const GROUP &m)
GROUPoperator= (const GROUP &group)
void setNumberOfFamilies (int numberOfFamilies)
void setFamilies (std::vector< FAMILY * > Family)
int getNumberOfFamilies () const
std::vector< FAMILY * > getFamilies () const
FAMILYgetFamily (int i) const

Protected Member Functions

virtual ~GROUP ()

Protected Attributes

int _numberOfFamilies
std::vector< FAMILY * > _family

Friends

std::ostream & operator<< (std::ostream &os, GROUP &my)

Constructor & Destructor Documentation

GROUP::~GROUP ( ) [protected, virtual]

Destructor.

References MESSAGE_MED.

GROUP::GROUP ( )

Constructor.

References MESSAGE_MED.

GROUP::GROUP ( const std::string &  name,
const std::list< FAMILY * > &  family 
) throw (MEDEXCEPTION)
GROUP::GROUP ( const GROUP m)

Copy Constructor.

References MEDMEM.GROUP._family, and MEDMEM.GROUP._numberOfFamilies.


Member Function Documentation

GROUP & GROUP::operator= ( const GROUP group)
void MEDMEM.GROUP::setNumberOfFamilies ( int  numberOfFamilies)

set the attribut _numberOfFamilies to numberOfFamilies

References MEDMEM.GROUP._numberOfFamilies.

void MEDMEM.GROUP::setFamilies ( std::vector< FAMILY * >  Family)

set the attribut _family to Family

References MEDMEM.GROUP._family.

int MEDMEM.GROUP::getNumberOfFamilies ( ) const

returns number of families in the group

References MEDMEM.GROUP._numberOfFamilies.

std::vector< FAMILY * > MEDMEM.GROUP::getFamilies ( ) const

returns the vector of families in the group

References MEDMEM.GROUP._family.

FAMILY * MEDMEM.GROUP::getFamily ( int  i) const

returns a reference on family I of the group


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
GROUP my 
) [friend]

Operator <<


Field Documentation

std::vector<FAMILY*> MEDMEM.GROUP._family [protected]
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