xmsstamper  1.0
xms::XmGuidebank Class Reference

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
 

Detailed Description

Guidebank definition for feature stamp end cap.

Definition at line 96 of file XmStamperIo.h.

Member Function Documentation

◆ ReadFromFile()

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

Reads the XmGuidebank 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 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().

◆ WriteToFile()

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

Writes the XmGuidebank 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 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().


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