![]() |
Open CASCADE Technology Reference Manual 8.0.2
|
Small fixed representation list. Deferred graph items have a bounded number of persisted representations, so avoid one heap allocation per item. More...
#include <BRepGraph_LayerDeferred.hxx>
Public Member Functions | |
| RepresentationStorage ()=default | |
| RepresentationStorage (const RepresentationStorage &theOther) | |
| RepresentationStorage (RepresentationStorage &&theOther) noexcept | |
| RepresentationStorage & | operator= (const RepresentationStorage &theOther) |
| RepresentationStorage & | operator= (RepresentationStorage &&theOther) noexcept |
| ~RepresentationStorage () | |
| size_t | Size () const |
| bool | IsEmpty () const |
| bool | ContainsKind (const RepresentationKind theKind) const |
| const Representation & | Value (const size_t theIndex) const |
| Representation & | ChangeValue (const size_t theIndex) |
| const Representation & | First () const |
| void | Append (const Representation &theRepresentation) |
| void | Clear () |
Static Public Attributes | |
| static constexpr size_t | THE_MAX_REPRESENTATIONS_PER_ITEM = 8 |
Small fixed representation list. Deferred graph items have a bounded number of persisted representations, so avoid one heap allocation per item.
|
default |
|
inline |
|
inlinenoexcept |
|
inline |
| void BRepGraph_LayerDeferred::Entry::RepresentationStorage::Append | ( | const Representation & | theRepresentation | ) |
|
inlinenodiscard |
| void BRepGraph_LayerDeferred::Entry::RepresentationStorage::Clear | ( | ) |
|
nodiscard |
|
inlinenodiscard |
|
inlinenodiscard |
| RepresentationStorage & BRepGraph_LayerDeferred::Entry::RepresentationStorage::operator= | ( | const RepresentationStorage & | theOther | ) |
|
noexcept |
|
inlinenodiscard |
|
inlinenodiscard |
|
staticconstexpr |