Public Member Functions | Static Public Member Functions | List of all members
CompoundDrawState Struct Reference

RefCounted object carrying a draw method index and variable size array of size_t. More...

#include <CompoundDrawState.h>

Inheritance diagram for CompoundDrawState:

Public Member Functions

WString GetDebugString () const
 Return debug representation. More...
 
bool operator== (CompoundDrawStateCR rhs) const
 complete equality test More...
 
bool operator< (CompoundDrawStateCR rhs) const
 lexical comparison, draw index then vector data. More...
 
void Store (bvector< uint16_t > &) const
 copy all data into the caller's bvector. More...
 
void Load (void const *data, size_t dataSize)
 Copy data from the caller's memor into this CompoundDrawState. More...
 
size_t GetDrawGeomMethodIndex () const
 Return the draw index. More...
 
bvector< size_t > const & GetConditionalBlockIndices () const
 return (reference to) the stored block indices. More...
 
bvector< size_t > & GetConditionalBlockIndicesR ()
 
void SetDrawGeomMethodIndex (size_t index)
 set the drawGeom index. More...
 

Static Public Member Functions

static CompoundDrawStatePtr Create ()
 Allocate with empty data. More...
 
static CompoundDrawStatePtr Create (size_t drawIndex, bvector< size_t > &conditionalBlockIndices)
 Allocate with full data. More...
 
static CompoundDrawStatePtr Create (CompoundDrawStateCR rhs)
 Allocate with copied data. More...
 

Detailed Description

RefCounted object carrying a draw method index and variable size array of size_t.

Member Function Documentation

static CompoundDrawStatePtr Create ( )
static

Allocate with empty data.

static CompoundDrawStatePtr Create ( size_t  drawIndex,
bvector< size_t > &  conditionalBlockIndices 
)
static

Allocate with full data.

static CompoundDrawStatePtr Create ( CompoundDrawStateCR  rhs)
static

Allocate with copied data.

bvector<size_t> const& GetConditionalBlockIndices ( ) const

return (reference to) the stored block indices.

bvector<size_t>& GetConditionalBlockIndicesR ( )
WString GetDebugString ( ) const

Return debug representation.

size_t GetDrawGeomMethodIndex ( ) const

Return the draw index.

void Load ( void const *  data,
size_t  dataSize 
)

Copy data from the caller's memor into this CompoundDrawState.

bool operator< ( CompoundDrawStateCR  rhs) const

lexical comparison, draw index then vector data.

bool operator== ( CompoundDrawStateCR  rhs) const

complete equality test

void SetDrawGeomMethodIndex ( size_t  index)

set the drawGeom index.

void Store ( bvector< uint16_t > &  ) const

copy all data into the caller's bvector.


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

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.