ESyS-Particle  2.3.4
esys::lsm::WallForceReader Class Reference

#include <WallForceReader.h>

Public Types

typedef std::pair< Vec3, Vec3WallForcePair
 
typedef WallForcesRecord::WallId WallId
 

Public Member Functions

 WallForceReader (WallId wallId1, WallId wallId2, std::istream &iStream)
 
 WallForceReader (WallId wallId1, WallId wallId2)
 
void setStream (std::istream &iStream)
 
bool hasNext () const
 
WallForcePair next ()
 

Private Attributes

std::istream * m_pIStream
 
char m_lineBuffer [MAX_LINE_SIZE]
 
WallId m_wallId1
 
WallId m_wallId2
 

Static Private Attributes

static const int MAX_LINE_SIZE = 4096
 

Member Typedef Documentation

◆ WallForcePair

◆ WallId

Constructor & Destructor Documentation

◆ WallForceReader() [1/2]

esys::lsm::WallForceReader::WallForceReader ( WallId  wallId1,
WallId  wallId2,
std::istream &  iStream 
)
inline

◆ WallForceReader() [2/2]

esys::lsm::WallForceReader::WallForceReader ( WallId  wallId1,
WallId  wallId2 
)
inline

Member Function Documentation

◆ hasNext()

bool esys::lsm::WallForceReader::hasNext ( ) const
inline

References m_pIStream, and NULL.

◆ next()

WallForcePair esys::lsm::WallForceReader::next ( )
inline

◆ setStream()

void esys::lsm::WallForceReader::setStream ( std::istream &  iStream)
inline

References m_pIStream.

Member Data Documentation

◆ m_lineBuffer

char esys::lsm::WallForceReader::m_lineBuffer[MAX_LINE_SIZE]
private

Referenced by next().

◆ m_pIStream

std::istream* esys::lsm::WallForceReader::m_pIStream
private

Referenced by hasNext(), next(), and setStream().

◆ m_wallId1

WallId esys::lsm::WallForceReader::m_wallId1
private

Referenced by next().

◆ m_wallId2

WallId esys::lsm::WallForceReader::m_wallId2
private

Referenced by next().

◆ MAX_LINE_SIZE

const int esys::lsm::WallForceReader::MAX_LINE_SIZE = 4096
staticprivate

Referenced by next().


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