Hide menu
Loading...
Searching...
No Matches
cadex::DFMSheetMetal_SheetSizeStandardSizeList Class Reference

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_SheetSizeStandartSize (size_t theIndex) const
 Access specified element.
 
DFMSheetMetal_SheetSizeStandartSize (size_t theIndex)
 Access specified element.
 
const DFMSheetMetal_SheetSizeoperator[] (size_t theIndex) const
 
DFMSheetMetal_SheetSizeoperator[] (size_t theIndex)
 
size_t Size () const
 Returns the number of elements in the list.
 
bool IsEmpty () const
 

Detailed Description

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().

See also
DFMSheetMetal_SheetSize

Constructor & Destructor Documentation

◆ DFMSheetMetal_SheetSizeStandardSizeList() [1/2]

cadex::DFMSheetMetal_SheetSizeStandardSizeList::DFMSheetMetal_SheetSizeStandardSizeList ( )

Constructor.

Creates an empty list.

◆ DFMSheetMetal_SheetSizeStandardSizeList() [2/2]

cadex::DFMSheetMetal_SheetSizeStandardSizeList::DFMSheetMetal_SheetSizeStandardSizeList ( std::initializer_list< DFMSheetMetal_SheetSize > theList)

Constructor.

Creates a list specified by given values.

Member Function Documentation

◆ IsEmpty()

bool cadex::DFMSheetMetal_SheetSizeStandardSizeList::IsEmpty ( ) const
inline

Returns true if the list empty.

See also
Size()

◆ StandartSize() [1/2]

DFMSheetMetal_SheetSize & cadex::DFMSheetMetal_SheetSizeStandardSizeList::StandartSize ( size_t theIndex)

Access specified element.

Returns a reference to the sheet size at specified location pos.

theIndex must be in the range [0, Size()-1]. Otherwise the result is undefined.

See also
Size()

◆ StandartSize() [2/2]

const DFMSheetMetal_SheetSize & cadex::DFMSheetMetal_SheetSizeStandardSizeList::StandartSize ( size_t theIndex) const

Access specified element.

Returns the sheet size at specified location pos.

theIndex must be in the range [0, Size()-1]. Otherwise the result is undefined.

See also
Size()