Version: 9.12.0
XAO::GeometricElement Class Reference

Generic class to manipulate a topologic element (vertex, edge, face or solid).

#include <XAO_GeometricElement.hxx>

Public Member Functions

 GeometricElement ()
 Default constructor. More...
 
 GeometricElement (const std::string &name, const std::string &reference)
 Constructor with name and reference. More...
 
virtual ~GeometricElement ()
 Destructor. More...
 
const std::string getName ()
 Gets the name of the element. More...
 
void setName (const std::string &name)
 Sets the name of the element. More...
 
bool hasName ()
 Checks if the element has a name. More...
 
const std::string getReference ()
 Gets the reference of the element. More...
 
void setReference (const std::string &reference)
 Sets the reference of the element. More...
 

Private Attributes

std::string m_name
 The name of the element. More...
 
std::string m_reference
 The reference of the element. More...
 

Constructor & Destructor Documentation

◆ GeometricElement() [1/2]

GeometricElement::GeometricElement ( )

References m_name, and m_reference.

◆ GeometricElement() [2/2]

GeometricElement::GeometricElement ( const std::string &  name,
const std::string &  reference 
)
Parameters
namethe name of the element.
referencethe reference of the element.

References m_name, and m_reference.

◆ ~GeometricElement()

GeometricElement::~GeometricElement ( )
virtual

Member Function Documentation

◆ getName()

const std::string XAO::GeometricElement::getName ( )
inline
Returns
the name.

◆ getReference()

const std::string XAO::GeometricElement::getReference ( )
inline
Returns
the reference.

◆ hasName()

bool GeometricElement::hasName ( )
Returns
true if the element has a name, false otherwise.

References m_name.

◆ setName()

void XAO::GeometricElement::setName ( const std::string &  name)
inline
Parameters
namethe name to set.

◆ setReference()

void XAO::GeometricElement::setReference ( const std::string &  reference)
inline
Parameters
referencethe reference to set.

Member Data Documentation

◆ m_name

std::string XAO::GeometricElement::m_name
private

◆ m_reference

std::string XAO::GeometricElement::m_reference
private

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