MeshLink
Computational geometry access
GeometryFile Class Reference

Storage for MeshLink schema GeometryFile data. More...

#include <MeshAssociativity.h>

Inheritance diagram for GeometryFile:

Public Member Functions

 GeometryFile ()
 Default constructor. More...
 
 GeometryFile (std::string &filename, std::string &arefString)
 Explicit constructor with file name (path) of geometry file and the attribute reference string. More...
 
 ~GeometryFile ()
 Destructor. More...
 
void addGeometryGroupID (MLINT gid)
 Add a geometry group ID to the geometry file. Typically used by the MeshLinkParser when a new "GeometryGroup" element is encountered. More...
 
const std::vector< MLINT > & getGeometryGroupIDs () const
 Return a list of all geometry group IDs associated with this GeometryFile. More...
 

Private Attributes

std::vector< MLINTgroupIDs_
 The geometry group IDs in this file. More...
 

Additional Inherited Members

Detailed Description

Storage for MeshLink schema GeometryFile data.

GeometryFile objects are accessed by an application using MeshAssociativity.getGeometryFiles. A GeometryFile is used only to link the kernel implementation to attributes specified by a MeshLink file.

Geometry data itself is managed by an application's custom implemenation of GeometryKernel.

Definition at line 422 of file MeshAssociativity.h.

Constructor & Destructor Documentation

◆ GeometryFile() [1/2]

GeometryFile::GeometryFile ( )
inline

Default constructor.

Definition at line 425 of file MeshAssociativity.h.

◆ GeometryFile() [2/2]

GeometryFile::GeometryFile ( std::string &  filename,
std::string &  arefString 
)
inline

Explicit constructor with file name (path) of geometry file and the attribute reference string.

Definition at line 429 of file MeshAssociativity.h.

◆ ~GeometryFile()

GeometryFile::~GeometryFile ( )
inline

Destructor.

Definition at line 434 of file MeshAssociativity.h.

Member Function Documentation

◆ addGeometryGroupID()

void GeometryFile::addGeometryGroupID ( MLINT  gid)
inline

Add a geometry group ID to the geometry file. Typically used by the MeshLinkParser when a new "GeometryGroup" element is encountered.

Definition at line 438 of file MeshAssociativity.h.

◆ getGeometryGroupIDs()

const std::vector<MLINT>& GeometryFile::getGeometryGroupIDs ( ) const
inline

Return a list of all geometry group IDs associated with this GeometryFile.

Definition at line 444 of file MeshAssociativity.h.

Member Data Documentation

◆ groupIDs_

std::vector<MLINT> GeometryFile::groupIDs_
private

The geometry group IDs in this file.

Definition at line 450 of file MeshAssociativity.h.


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