xmsstamper  1.0
xms::XmStamperEndCap Class Reference

End cap definition for feature stamp. More...

#include <XmStamperIo.h>

Public Member Functions

void WriteToFile (std::ofstream &a_file, const std::string &a_cardName) const
 Writes the XmStamperEndCap class information to a file. More...
 
bool ReadFromFile (std::ifstream &a_file)
 Reads the XmStamperEndCap class information to a file. More...
 

Public Attributes

int m_type
 type of end cap: 0- guidebank, 1- sloped abutment, 2- wing wall
 
double m_angle
 degrees from -45 to 45
 
XmGuidebank m_guidebank
 guidebank definition
 
XmSlopedAbutment m_slopedAbutment
 sloped abutment definition
 
XmWingWall m_wingWall
 wing wall definition
 

Detailed Description

End cap definition for feature stamp.

Definition at line 120 of file XmStamperIo.h.

Member Function Documentation

◆ ReadFromFile()

bool xms::XmStamperEndCap::ReadFromFile ( std::ifstream &  a_file)

Reads the XmStamperEndCap class information to a file.

Parameters
[in]a_fileThe input file.
Returns
true if file read is successful. false if errors encountered.

Definition at line 538 of file XmStamperIo.cpp.

References m_angle, m_guidebank, m_slopedAbutment, m_type, m_wingWall, xms::XmWingWall::ReadFromFile(), xms::XmSlopedAbutment::ReadFromFile(), xms::XmGuidebank::ReadFromFile(), stEqualNoCase(), and XM_ENSURE_TRUE.

Referenced by xms::XmStamperIo::ReadFromFile().

◆ WriteToFile()

void xms::XmStamperEndCap::WriteToFile ( std::ofstream &  a_file,
const std::string &  a_cardName 
) const

Writes the XmStamperEndCap class information to a file.

Parameters
[in]a_fileThe output file.
[in]a_cardNameThe card name to be written to the output file.

Definition at line 523 of file XmStamperIo.cpp.

References m_angle, m_guidebank, m_slopedAbutment, m_type, m_wingWall, xms::XmWingWall::WriteToFile(), xms::XmSlopedAbutment::WriteToFile(), xms::XmGuidebank::WriteToFile(), and XM_ENSURE_TRUE.

Referenced by xms::XmStamperIo::WriteToFile().


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