Clarisse 4.0 SP10 SDK  4.0.0.0.10
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Static Public Attributes | Friends | List of all members
CoreBasicArray< T > Class Template Reference
Inheritance diagram for CoreBasicArray< T >:
CoreBaseType CoreArray< T > CoreArray< bool > CoreArray< BuiltinCmdDataParticleUndoPtr > CoreArray< Channel > CoreArray< char > CoreArray< const ComponentInterface * > CoreArray< const GuiImage * > CoreArray< const ResourceProperty * > CoreArray< CoreArray< FCurve * > > CoreArray< CoreArray< float > > CoreArray< CoreArray< ParserEntry * > > CoreArray< CoreArray< unsigned int > > CoreArray< CoreListId > CoreArray< CoreVariant > CoreArray< CoreVector< EvalItem > > CoreArray< CoreVector< float > > CoreArray< CoreVector< GMathVec2d > > CoreArray< CoreVector< SingleQualityEvaluator > > CoreArray< CoreVector< unsigned int > > CoreArray< Ctx > CoreArray< DisplacedPrimitiveGas * > CoreArray< DisplacedPrimitiveGasMotion * > CoreArray< Displacement > CoreArray< Edge > CoreArray< Face > CoreArray< FCurve * > CoreArray< FCurveKeyId > CoreArray< float * > CoreArray< GasGeometry * > CoreArray< GasObject * > CoreArray< GeometryColorMap > CoreArray< GeometryNormalMap > CoreArray< GeometryObject * > CoreArray< GeometryPrimitiveSampleDescriptor > CoreArray< GeometryProperty * > CoreArray< GeometryPropertyBundle::BundlePropertyIds > CoreArray< GeometryPropertyCollection * > CoreArray< GeometryUvMap > CoreArray< GMathBbox3d > CoreArray< GMathCompressedNormal > CoreArray< GMathMatrix4x4d > CoreArray< GMathVec2d > CoreArray< GMathVec2i > CoreArray< GMathVec3d > CoreArray< GMathVec3f > CoreArray< GMathVec4f > CoreArray< GMathVec4i > CoreArray< GMathVec4uc > CoreArray< GuiAttributeField * > CoreArray< GuiColorScheme::Role > CoreArray< GuiImage * > CoreArray< GuiNumberEdit * > CoreArray< GuiPushButton * > CoreArray< GuiWidget * > CoreArray< Illumination * > CoreArray< ImageMapChannel * > CoreArray< ImageMapTileHandle > CoreArray< int > CoreArray< Internal_color > CoreArray< KeywordData > CoreArray< LutData > CoreArray< Material * > CoreArray< MeshUvBake * > CoreArray< MetaData > CoreArray< ModuleImageInfo > CoreArray< ModuleLayer * > CoreArray< ModuleLayerSourceInfo > CoreArray< ModuleLight * > CoreArray< ModuleMaterial * > CoreArray< ModuleSceneObject * > CoreArray< ModuleTexture * > CoreArray< Object * > CoreArray< ObjectProps > CoreArray< OfAttrNameDirtiness > CoreArray< OfAttrState * > CoreArray< OfFileReferenceContextEngine::CmdFilenameUndoData * > CoreArray< OfObject * > CoreArray< ParserEntry * > CoreArray< Patch > CoreArray< PbrLightConfig > CoreArray< PointCloudMapGeometry > CoreArray< PointCloudMapSamples > CoreArray< PointCloudMapSceneObject > CoreArray< PreGeometryHitCallback > CoreArray< ResourceBundleItem * > CoreArray< ResourceProperty * > CoreArray< SceneObjectShadingDataPtr > CoreArray< ShadingCacheBucket * > CoreArray< ShadingLayerColumnValues * > CoreArray< ShadingVariablesCtx * > CoreArray< short > CoreArray< SubTree > CoreArray< SysThreadLock > CoreArray< SysThreadPoolWorker * > CoreArray< Undo * > CoreArray< UniqueString > CoreArray< unsigned char > CoreArray< unsigned short > CoreArray< Value > CoreArray< value_type > CoreStaticArray< T, SIZE > CoreVector< T > CoreVector< ActionList > CoreVector< AovChannelItem > CoreVector< AovGroup > CoreVector< AovStoreDesc > CoreVector< AovVarianceChannel > CoreVector< AppLogMessage > CoreVector< AppMainMenuItem * > CoreVector< AppShelfItem > CoreVector< AttributeOverrideInfos > CoreVector< AttributeOverrides * > CoreVector< AttrInfo > CoreVector< bool > CoreVector< Bounce > CoreVector< Box > CoreVector< BxDFTypeFlags > CoreVector< CamAttrInfos > CoreVector< CAMInfo > CoreVector< ChannelEventInfo * > CoreVector< ChannelEventInfo > CoreVector< char > CoreVector< ClassCreationItemDescriptor * > CoreVector< ClassCreationItemDescriptor > CoreVector< Column * > CoreVector< ComponentProperty > CoreVector< ComponentSchema * > CoreVector< const GMathVec4i * > CoreVector< const GuiImage * > CoreVector< const OfClass * > CoreVector< const OfContext * > CoreVector< const ShadingLayerColumnItem * > CoreVector< ContextInfo > CoreVector< CopyEntry > CoreVector< CoreArgInfo * > CoreVector< CoreArray< FCurveKeyId > * > CoreVector< CoreArray< NewKey > * > CoreVector< CoreArray< OfCommandArgument > > CoreVector< CoreBaseObject * > CoreVector< CoreClassInfo * > CoreVector< CoreConstructorInfo * > CoreVector< CoreEnumInfo * > CoreVector< CoreEnumValueInfo * > CoreVector< CoreHashTableSparseNode< T, U > > CoreVector< CoreLogger * > CoreVector< CoreMethodInfo * > CoreVector< CoreSharedPointer< OfCommand > > CoreVector< CoreTree< EngineFileFormatManager * > * > CoreVector< CoreTree< OfClassFactory::CategoryTreeNode > * > CoreVector< CoreTree< T > * > CoreVector< CoreVariant > CoreVector< CoreVector< bool > > CoreVector< CoreVector< const OfClass * > > CoreVector< CoreVector< CoreString > > CoreVector< CoreVector< unsigned int > > CoreVector< ctx_node * > CoreVector< CtxFrustum * > CoreVector< CtxRayFrustum * > CoreVector< CtxRaytrace * > CoreVector< CurrentSystem > CoreVector< CurrentType > CoreVector< CustomAttrInfos > CoreVector< Element > CoreVector< Entry > CoreVector< FCurveKey > CoreVector< FCurveKeyId > CoreVector< FilenameData * > CoreVector< Frame > CoreVector< GenericSample > CoreVector< GeometryCustomData * > CoreVector< GeometryDeferredShading * > CoreVector< GeometryDeferredShadingData * > CoreVector< GeometryDeferredShadingGroup * > CoreVector< GeometryIntersectionPath > CoreVector< GeometryObject * > CoreVector< GeometryUvMapData > CoreVector< GeometryVertex > CoreVector< GMathMatrix4x4d > CoreVector< GMathUnits::UnitType > CoreVector< GMathVec2d > CoreVector< GMathVec2f > CoreVector< GMathVec2i > CoreVector< GMathVec2ui > CoreVector< GMathVec3d > CoreVector< GMathVec3f > CoreVector< GMathVec4i > CoreVector< GuiAction * > CoreVector< GuiAppPendingCallbackItem > CoreVector< GuiCandidateItem > CoreVector< GuiCheckbox * > CoreVector< GuiCheckButton * > CoreVector< GuiContextFieldInfo > CoreVector< GuiContextMenuBrowser * > CoreVector< GuiCurveEventInfo > CoreVector< GuiCurveLinkedEventInfo > CoreVector< GuiCurveSelectionKey > CoreVector< GuiFileBrowserPathFieldInfo > CoreVector< GuiGradientSelectionKey > CoreVector< GuiGraphCurve * > CoreVector< GuiGraphItem * > CoreVector< GuiImageHistoryItem * > CoreVector< GuiItemGalleryThumbnailItem * > CoreVector< GuiLabel * > CoreVector< GuiListButtonItem * > CoreVector< GuiListPanelItem * > CoreVector< GuiListViewItem > CoreVector< GuiMenuButton * > CoreVector< GuiMenuItem * > CoreVector< GuiMenuRadioGroup * > CoreVector< GuiNodalBackdrop * > CoreVector< GuiNodalHeaderLine > CoreVector< GuiNodalItem * > CoreVector< GuiNodalLayoutGrid * > CoreVector< GuiNodalLink * > CoreVector< GuiNodalNode * > CoreVector< GuiNodalNodeBase * > CoreVector< GuiNodalNodeZone * > CoreVector< GuiNodalNodeZoneAnchor * > CoreVector< GuiNodalNote * > CoreVector< GuiNodalSubnet * > CoreVector< GuiPopup * > CoreVector< GuiSpreadsheetCell * > CoreVector< GuiSpreadsheetHeaderData > CoreVector< GuiSpreadsheetRow * > CoreVector< GuiTextEditAction * > CoreVector< GuiTreeColumn * > CoreVector< GuiTreeItem * > CoreVector< GuiViewport * > CoreVector< GuiViewportData * > CoreVector< GuiWidget * > CoreVector< GuiWindow * > CoreVector< GuiWindowRouter * > CoreVector< HighlightInfos > CoreVector< ImageMapChannel * > CoreVector< ImageMapPyramidItem * > CoreVector< ImageMapTileHandle > CoreVector< int > CoreVector< Keyable > CoreVector< Layer * > CoreVector< LockEntry > CoreVector< LpeAov > CoreVector< LpeDesc > CoreVector< ModuleAovStore * > CoreVector< ModuleGroup * > CoreVector< ModuleImageLevelUpdateReceiver > CoreVector< ModuleIntegrator::IntegrationModel > CoreVector< ModuleLightLegacy * > CoreVector< ModuleLpe * > CoreVector< ModuleProgressUpdateReceiver > CoreVector< ModuleSceneItem * > CoreVector< ModuleSceneObject * > CoreVector< ModuleShadingLayer * > CoreVector< MonotoneCubicInterpolator< float > > CoreVector< MoveValue * > CoreVector< ObjectArrayDescriptor > CoreVector< ObjectDescriptor > CoreVector< ObjectEventConnectionData > CoreVector< ObjectOverrideInfos > CoreVector< ObjectOverrideInfos::CamAttrInfos > CoreVector< ObjectOverrideInfos::CustomAttrInfos > CoreVector< ObjectSerial * > CoreVector< OfAttr * > CoreVector< OfAttrDynEvaluator > CoreVector< OfAttrGroup * > CoreVector< OfAttrPtr > CoreVector< OfAttrState * > CoreVector< OfAttrSubgraphNode * > CoreVector< OfAttrSubgraphNodeIndex > CoreVector< OfClass * > CoreVector< OfCommand * > CoreVector< OfCommandArgument::Type > CoreVector< OfCommandCaller * > CoreVector< OfCommandSignature * > CoreVector< OfContext * > CoreVector< OfDirtinessEventInfo * > CoreVector< OfEndProtectionInfo > CoreVector< OfEnum * > CoreVector< OfEnumValue * > CoreVector< OfExpressionWrapper * > CoreVector< OfItem * > CoreVector< OfObject * > CoreVector< OfObjectFactoryCommand * > CoreVector< OfOutput * > CoreVector< OfOverridesContextEngine::ClearOverridesUndoData * > CoreVector< OverrideSetInfos * > CoreVector< ParserEntry * > CoreVector< ParserGroup * > CoreVector< ParserValue * > CoreVector< PathAndGuiItem > CoreVector< PbrAbsorptionLayer > CoreVector< PbrBxdf * > CoreVector< PbrChannelIndex > CoreVector< PbrLpeBxdfConstant > CoreVector< PbrLpeConstant > CoreVector< Point > CoreVector< PointCloudSamplesTreeSample > CoreVector< PrimitiveSubdivision > CoreVector< ProgressUpdateReceiver > CoreVector< RemovedAttrInfo > CoreVector< Resource * > CoreVector< ResourceUser * > CoreVector< Row * > CoreVector< RuleData > CoreVector< Scalar > CoreVector< Scatter > CoreVector< Segment > CoreVector< ShadingLayerRule * > CoreVector< ShadingVariable::Variable * > CoreVector< ShadingVariableManagerAccessor > CoreVector< short > CoreVector< Slot > CoreVector< Subset > CoreVector< SyntaxColor > CoreVector< SysThreadTask * > CoreVector< SysThreadTaskManager * > CoreVector< Tag * > CoreVector< TextureCache > CoreVector< U > CoreVector< Undo * > CoreVector< UniqueString > CoreVector< UnitSystem > CoreVector< UnitValue > CoreVector< unsigned long long > CoreVector< UvGeometry > CoreVector< Value > CoreVector< ValueImpl > CoreVector< void * >

Public Member Functions

 CoreBasicArray ()
 Empty constructor.
 
 CoreBasicArray (T *array, unsigned int count, unsigned int capacity=0)
 Default constructor.
 
 CoreBasicArray (const CoreBasicArray< T > &src)
 Copy constructor.
 
 CoreBasicArray (CoreBasicArray< T > &&src) noexcept
 Move constructor.
 
- Public Member Functions inherited from CoreBaseType
bool is_kindof (const CoreClassInfo &cinfo) const
 
bool operator== (const CoreBaseType &obj) const
 

Static Public Attributes

static constexpr unsigned int INVALID_INDEX = CORE_INVALID_INDEX
 For backward compatibility. Use CORE_INVALID_INDEX instead.
 

Friends

class CoreBasicArrayIterator< T >
 

Additional Inherited Members

- Static Public Member Functions inherited from CoreBaseType
static bool ___class_destructor__ (void *instance, const bool &is_array)
 
static const CoreClassInfoclass_info ()
 

Detailed Description

template<class T>
class CoreBasicArray< T >

Base for array like classes. It provides access to its content and read helpers, but does not own the data.

Constructor & Destructor Documentation

template<class T>
CoreBasicArray< T >::CoreBasicArray ( T *  array,
unsigned int  count,
unsigned int  capacity = 0 
)
inlineexplicit

Default constructor.

Parameters
[in]array,C++array pointer
[in]count,sizeof the array (number of items)
[in]capacity,capacityof the array (0 by default, used by CoreVector mostly)
Note
the given pointer is not freed after destruction