15 #include "CeeCore/Base.h"
16 #include "CeeCore/Str.h"
17 #include "CeeVTFx/Base.h"
18 #include "CeeVTFx/Block.h"
22 struct VTFxSetBlockItems;
39 void setBlockId(
int blockId);
44 size_t itemCount()
const;
45 int itemIdOrIndex(
size_t index)
const;
47 void setItems(
const std::vector<int>& itemIdOrIndices);
49 void addItems(
const std::vector<int>& itemIdOrIndices);
50 void addItem(
int itemIdOrIndex);
52 VTFxSetBlockItems* internal_vtfxSetBlockItems();
75 SetBlock(
int blockId,
bool itemsByIds);
79 void setSetId(
int setId);
82 void setSetName(
const Str& name);
84 ItemType itemType()
const;
85 void setItemType(ItemType itemType);
87 size_t totalItemCount()
const;
89 int itemGroupCount()
const;
94 void addItem(
int itemIdOrIndex,
int itemGroupId);
95 void addItems(
const int* itemIndicesOrIds,
size_t itemCount,
int itemGroupId);
98 SetBlock(VTFxSetBlock* block,
int blockId);
100 VTFxBlock* internal_vtfxBlock()
const;
103 friend class DatabasePrivate;
106 CEE_DISALLOW_COPY_AND_ASSIGN(
SetBlock);
ItemType
Item types for SetBlock.
Definition: SetBlock.h:69
Namespace cee contains all functionality and structures under the Core component. ...
Definition: AppAssert.cpp:18
A general unicode based string class.
Definition: Str.h:28
A block for storing sets of elements or nodes.
Definition: SetBlock.h:65
BlockType
Global block type constants used by Ceetron Export. Normally users do not need these, except for some methods of TransformationResultValuesBlock.
Definition: Block.h:35
A class to store a group of items that map to a given block (only supported block type is currently e...
Definition: SetBlock.h:32
Base class for all reference counted objects with built-in support for intrusive reference counting...
Definition: RefCountedObject.h:34
Element item type.
Definition: SetBlock.h:70
Abstract base class for all VTFx blocks.
Definition: Block.h:29