xmsstamper
1.0
|
Guidebank definition for feature stamp end cap. More...
#include <XmStamperIo.h>
Public Member Functions | |
void | WriteToFile (std::ofstream &a_file, const std::string &a_cardName) const |
Writes the XmGuidebank class information to a file. More... | |
bool | ReadFromFile (std::ifstream &a_file) |
Reads the XmGuidebank class information to a file. More... | |
Public Attributes | |
int | m_side |
position of guidebank relative to center line, 0-left, 1-right | |
double | m_radius1 |
first radius (R1) for guidebank creation | |
double | m_radius2 |
second radius (R2) for guidebank creation | |
double | m_width |
width of guidebank about the center line | |
int | m_nPts |
number of points created along the center line to create the guidebank | |
Guidebank definition for feature stamp end cap.
Definition at line 96 of file XmStamperIo.h.
bool xms::XmGuidebank::ReadFromFile | ( | std::ifstream & | a_file | ) |
Reads the XmGuidebank class information to a file.
[in] | a_file | The input file. |
Definition at line 497 of file XmStamperIo.cpp.
References m_nPts, m_radius1, m_radius2, m_side, m_width, stEqualNoCase(), and XM_ENSURE_TRUE.
Referenced by xms::XmStamperEndCap::ReadFromFile().
void xms::XmGuidebank::WriteToFile | ( | std::ofstream & | a_file, |
const std::string & | a_cardName | ||
) | const |
Writes the XmGuidebank 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 482 of file XmStamperIo.cpp.
References m_nPts, m_radius1, m_radius2, m_side, m_width, and XM_ENSURE_TRUE.
Referenced by xms::XmStamperEndCap::WriteToFile().