xmsstamper
1.0
|
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 | |
End cap definition for feature stamp.
Definition at line 120 of file XmStamperIo.h.
bool xms::XmStamperEndCap::ReadFromFile | ( | std::ifstream & | a_file | ) |
Reads the XmStamperEndCap class information to a file.
[in] | a_file | The input file. |
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().
void xms::XmStamperEndCap::WriteToFile | ( | std::ofstream & | a_file, |
const std::string & | a_cardName | ||
) | const |
Writes the XmStamperEndCap class information to a file.
[in] | a_file | The output file. |
[in] | a_cardName | The 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().