MeshLink
Computational geometry access
MeshLinkFile Class Reference

Storage for MeshLink GeometryFile and MeshFile data. More...

#include <MeshAssociativity.h>

Inheritance diagram for MeshLinkFile:

Public Member Functions

 MeshLinkFile ()
 Default constructor. More...
 
 MeshLinkFile (std::string &filename, std::string &arefString)
 Explicit constructor with file name (path) and attribute reference string. More...
 
 ~MeshLinkFile ()
 Destructor. More...
 
virtual const char * getFilename () const
 Return the filename specified by the MeshLinkFile. More...
 
std::vector< MLINTgetAttributeIDs (const MeshAssociativity &meshAssoc) const
 Return list of attribute IDs referenced by the MeshLinkFile. More...
 
bool hasAref () const
 Return whether the file has an attribute reference. More...
 
bool getArefID (MLINT *aref) const
 Return whether the file references the given attribute reference ID. More...
 

Protected Attributes

std::string filename_
 The mesh file name. More...
 
std::string arefString_
 The mesh file attribute reference string. More...
 

Friends

class MeshAssociativity
 

Detailed Description

Storage for MeshLink GeometryFile and MeshFile data.

Definition at line 363 of file MeshAssociativity.h.

Constructor & Destructor Documentation

◆ MeshLinkFile() [1/2]

MeshLinkFile::MeshLinkFile ( )
inline

Default constructor.

Definition at line 368 of file MeshAssociativity.h.

◆ MeshLinkFile() [2/2]

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

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

Definition at line 371 of file MeshAssociativity.h.

◆ ~MeshLinkFile()

MeshLinkFile::~MeshLinkFile ( )
inline

Destructor.

Definition at line 377 of file MeshAssociativity.h.

Member Function Documentation

◆ getArefID()

bool MeshLinkFile::getArefID ( MLINT aref) const
inline

Return whether the file references the given attribute reference ID.

Definition at line 389 of file MeshAssociativity.h.

◆ getAttributeIDs()

std::vector<MLINT> MeshLinkFile::getAttributeIDs ( const MeshAssociativity meshAssoc) const

Return list of attribute IDs referenced by the MeshLinkFile.

◆ getFilename()

virtual const char* MeshLinkFile::getFilename ( ) const
inlinevirtual

Return the filename specified by the MeshLinkFile.

Definition at line 380 of file MeshAssociativity.h.

◆ hasAref()

bool MeshLinkFile::hasAref ( ) const
inline

Return whether the file has an attribute reference.

Definition at line 386 of file MeshAssociativity.h.

Friends And Related Function Documentation

◆ MeshAssociativity

friend class MeshAssociativity
friend

Definition at line 365 of file MeshAssociativity.h.

Member Data Documentation

◆ arefString_

std::string MeshLinkFile::arefString_
protected

The mesh file attribute reference string.

Definition at line 402 of file MeshAssociativity.h.

◆ filename_

std::string MeshLinkFile::filename_
protected

The mesh file name.

Definition at line 399 of file MeshAssociativity.h.


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