Open CASCADE Technology Reference Manual 8.0.2
Loading...
Searching...
No Matches
BRepGraph_LayerDeferred::Entry::RepresentationStorage Class Reference

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

Detailed Description

Small fixed representation list. Deferred graph items have a bounded number of persisted representations, so avoid one heap allocation per item.

Constructor & Destructor Documentation

◆ RepresentationStorage() [1/3]

BRepGraph_LayerDeferred::Entry::RepresentationStorage::RepresentationStorage ( )
default

◆ RepresentationStorage() [2/3]

BRepGraph_LayerDeferred::Entry::RepresentationStorage::RepresentationStorage ( const RepresentationStorage & theOther)
inline

◆ RepresentationStorage() [3/3]

BRepGraph_LayerDeferred::Entry::RepresentationStorage::RepresentationStorage ( RepresentationStorage && theOther)
inlinenoexcept

◆ ~RepresentationStorage()

BRepGraph_LayerDeferred::Entry::RepresentationStorage::~RepresentationStorage ( )
inline

Member Function Documentation

◆ Append()

void BRepGraph_LayerDeferred::Entry::RepresentationStorage::Append ( const Representation & theRepresentation)

◆ ChangeValue()

Representation & BRepGraph_LayerDeferred::Entry::RepresentationStorage::ChangeValue ( const size_t theIndex)
inlinenodiscard

◆ Clear()

void BRepGraph_LayerDeferred::Entry::RepresentationStorage::Clear ( )

◆ ContainsKind()

bool BRepGraph_LayerDeferred::Entry::RepresentationStorage::ContainsKind ( const RepresentationKind theKind) const
nodiscard

◆ First()

const Representation & BRepGraph_LayerDeferred::Entry::RepresentationStorage::First ( ) const
inlinenodiscard

◆ IsEmpty()

bool BRepGraph_LayerDeferred::Entry::RepresentationStorage::IsEmpty ( ) const
inlinenodiscard

◆ operator=() [1/2]

RepresentationStorage & BRepGraph_LayerDeferred::Entry::RepresentationStorage::operator= ( const RepresentationStorage & theOther)

◆ operator=() [2/2]

RepresentationStorage & BRepGraph_LayerDeferred::Entry::RepresentationStorage::operator= ( RepresentationStorage && theOther)
noexcept

◆ Size()

size_t BRepGraph_LayerDeferred::Entry::RepresentationStorage::Size ( ) const
inlinenodiscard

◆ Value()

const Representation & BRepGraph_LayerDeferred::Entry::RepresentationStorage::Value ( const size_t theIndex) const
inlinenodiscard

Field Documentation

◆ THE_MAX_REPRESENTATIONS_PER_ITEM

size_t BRepGraph_LayerDeferred::Entry::RepresentationStorage::THE_MAX_REPRESENTATIONS_PER_ITEM = 8
staticconstexpr

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