Chombo + EB  3.2
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
STLAsciiReader Class Reference

#include <STLAsciiReader.H>

Inheritance diagram for STLAsciiReader:
Inheritance graph
[legend]

Public Member Functions

 STLAsciiReader ()
 Constructor - read from standard input. More...
 
 STLAsciiReader (const string &a_filename)
 Constructor - read from file name. More...
 
 ~STLAsciiReader ()
 Destructor. More...
 
string * GetHeader () const
 Return header information. More...
 
void GetNtri (int &a_ntri) const
 Return number of elements. More...
 
void GetNtriMatch (bool &a_ntriMatch) const
 Return whether number of elements from header matches file. More...
 
RefCountedPtr< STLMeshGetMesh () const
 Return pointer to the mesh. More...
 
- Public Member Functions inherited from STLReader
 STLReader ()
 Constructor - read from standard input. More...
 
virtual ~STLReader ()
 Destructor. More...
 

Protected Member Functions

void ReadData (istream &a_file, const int offset)
 

Protected Attributes

string * m_header
 
int m_ntri
 
bool m_ntriMatch
 
RefCountedPtr< STLMeshm_stlmesh
 
- Protected Attributes inherited from STLReader
int m_ntri
 
bool m_ntriMatch
 
RefCountedPtr< STLMeshm_stlmesh
 

Private Member Functions

void operator= (const STLAsciiReader &a_inputReader)
 

Constructor & Destructor Documentation

◆ STLAsciiReader() [1/2]

STLAsciiReader::STLAsciiReader ( )

Constructor - read from standard input.

◆ STLAsciiReader() [2/2]

STLAsciiReader::STLAsciiReader ( const string &  a_filename)

Constructor - read from file name.

◆ ~STLAsciiReader()

STLAsciiReader::~STLAsciiReader ( )

Destructor.

Member Function Documentation

◆ GetHeader()

string* STLAsciiReader::GetHeader ( ) const
virtual

Return header information.

Implements STLReader.

◆ GetNtri()

void STLAsciiReader::GetNtri ( int &  a_ntri) const
virtual

Return number of elements.

Implements STLReader.

◆ GetNtriMatch()

void STLAsciiReader::GetNtriMatch ( bool &  a_ntriMatch) const
virtual

Return whether number of elements from header matches file.

Implements STLReader.

◆ GetMesh()

RefCountedPtr<STLMesh> STLAsciiReader::GetMesh ( ) const
virtual

Return pointer to the mesh.

Implements STLReader.

◆ ReadData()

void STLAsciiReader::ReadData ( istream &  a_file,
const int  offset 
)
protectedvirtual

Implements STLReader.

◆ operator=()

void STLAsciiReader::operator= ( const STLAsciiReader a_inputReader)
inlineprivate

References MayDay::Abort().

Member Data Documentation

◆ m_header

string* STLAsciiReader::m_header
protected

◆ m_ntri

int STLAsciiReader::m_ntri
protected

◆ m_ntriMatch

bool STLAsciiReader::m_ntriMatch
protected

◆ m_stlmesh

RefCountedPtr<STLMesh> STLAsciiReader::m_stlmesh
protected

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