Defines a list of sheet sizes. More...
Public Member Functions | |
| DFMSheetMetal_SheetSizeStandardSizeList () | |
| Constructor. | |
| DFMSheetMetal_SheetSizeStandardSizeList (std::initializer_list< DFMSheetMetal_SheetSize > theList) | |
| Constructor. | |
| void | Append (const DFMSheetMetal_SheetSize &theSMSize) |
| Adds a sheet size to the list. | |
| const DFMSheetMetal_SheetSize & | StandartSize (size_t theIndex) const |
| Access specified element. | |
| DFMSheetMetal_SheetSize & | StandartSize (size_t theIndex) |
| Access specified element. | |
| const DFMSheetMetal_SheetSize & | operator[] (size_t theIndex) const |
| DFMSheetMetal_SheetSize & | operator[] (size_t theIndex) |
| size_t | Size () const |
| Returns the number of elements in the list. | |
| bool | IsEmpty () const |
Defines a list of sheet sizes.
Sheet size can be added using Append() and retrieved using StandartSize() or operator[]. The number of added sheet sizes can be retrieved by Size().
| cadex::DFMSheetMetal_SheetSizeStandardSizeList::DFMSheetMetal_SheetSizeStandardSizeList | ( | ) |
Constructor.
Creates an empty list.
| cadex::DFMSheetMetal_SheetSizeStandardSizeList::DFMSheetMetal_SheetSizeStandardSizeList | ( | std::initializer_list< DFMSheetMetal_SheetSize > | theList | ) |
Constructor.
Creates a list specified by given values.
|
inline |
Returns true if the list empty.
| DFMSheetMetal_SheetSize & cadex::DFMSheetMetal_SheetSizeStandardSizeList::StandartSize | ( | size_t | theIndex | ) |
| const DFMSheetMetal_SheetSize & cadex::DFMSheetMetal_SheetSizeStandardSizeList::StandartSize | ( | size_t | theIndex | ) | const |