TechDraw::LineGroup Class Reference

#include <LineGroup.h>

Public Member Functions

void dump (const char *title)
 
std::string getName (void)
 
double getWeight (std::string s)
 
 LineGroup ()
 
 LineGroup (std::string groupName)
 
void setName (std::string s)
 
void setWeight (std::string s, double weight)
 
 ~LineGroup ()
 

Static Public Member Functions

static double getDefaultWidth (std::string weightName, int groupNumber=-1)
 
static std::string getGroupNamesFromFile (std::string FileName)
 
static std::string getRecordFromFile (std::string parmFile, int groupNumber)
 
static LineGrouplineGroupFactory (int groupNumber)
 
static std::vector< double > split (std::string line)
 

Protected Member Functions

void init (void)
 

Protected Attributes

double m_extra
 
double m_graphic
 
std::string m_name
 
double m_thick
 
double m_thin
 

Constructor & Destructor Documentation

◆ LineGroup() [1/2]

LineGroup::LineGroup ( )

References init().

Referenced by lineGroupFactory().

◆ LineGroup() [2/2]

LineGroup::LineGroup ( std::string  groupName)

References init(), and m_name.

◆ ~LineGroup()

LineGroup::~LineGroup ( )

Member Function Documentation

◆ dump()

void LineGroup::dump ( const char *  title)

◆ getDefaultWidth()

double LineGroup::getDefaultWidth ( std::string  weightName,
int  groupNumber = -1 
)
static

◆ getGroupNamesFromFile()

std::string LineGroup::getGroupNamesFromFile ( std::string  FileName)
static

◆ getName()

std::string TechDraw::LineGroup::getName ( void  )

◆ getRecordFromFile()

std::string LineGroup::getRecordFromFile ( std::string  parmFile,
int  groupNumber 
)
static

◆ getWeight()

double LineGroup::getWeight ( std::string  s)

References m_extra, m_graphic, m_thick, and m_thin.

◆ init()

void LineGroup::init ( void  )
protected

◆ lineGroupFactory()

◆ setName()

void TechDraw::LineGroup::setName ( std::string  s)

◆ setWeight()

void LineGroup::setWeight ( std::string  s,
double  weight 
)

References m_extra, m_graphic, m_thick, and m_thin.

Referenced by lineGroupFactory().

◆ split()

std::vector< double > LineGroup::split ( std::string  line)
static

Member Data Documentation

◆ m_extra

double TechDraw::LineGroup::m_extra
protected

Referenced by dump(), getWeight(), init(), and setWeight().

◆ m_graphic

double TechDraw::LineGroup::m_graphic
protected

Referenced by dump(), getWeight(), init(), and setWeight().

◆ m_name

std::string TechDraw::LineGroup::m_name
protected

Referenced by dump(), init(), and LineGroup().

◆ m_thick

double TechDraw::LineGroup::m_thick
protected

Referenced by dump(), getWeight(), init(), and setWeight().

◆ m_thin

double TechDraw::LineGroup::m_thin
protected

Referenced by dump(), getWeight(), init(), and setWeight().


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