Dali 3D User Interface Engine
List of all members | Public Types | Public Member Functions
Dali::Vector< T, IsTrivialType > Class Template Reference

Vector class with minimum space allocation when its empty. More...

#include <dali-vector.h>

Inherits Dali::VectorAlgorithms< IsTrivialType >.

Collaboration diagram for Dali::Vector< T, IsTrivialType >:
Collaboration graph
[legend]

Public Types

enum  { BaseType = IsTrivialType }
 
typedef VectorBase::SizeType SizeType
 Type definitions. More...
 
typedef T * Iterator
 Most simple Iterator is a pointer .0. More...
 
typedef const T * ConstIterator
 Const iterator .0. More...
 
typedef T ItemType
 Item type .0. More...
 

Public Member Functions

 Vector ()
 Default constructor. More...
 
 ~Vector ()
 Destructor. More...
 
 Vector (const Vector &vector)
 Copy constructor. More...
 
Vectoroperator= (const Vector &vector)
 Assignment operator. More...
 
Iterator Begin () const
 Iterator to the beginning of the data. More...
 
Iterator End () const
 Iterator to the end of the data (one past last element). More...
 
ItemTypeoperator[] (SizeType index)
 Subscript operator. More...
 
const ItemTypeoperator[] (SizeType index) const
 Subscript operator. More...
 
void PushBack (const ItemType &element)
 Push back an element to the vector. More...
 
void Insert (Iterator at, const ItemType &element)
 Insert an element to the vector. More...
 
void Insert (Iterator at, Iterator from, Iterator to)
 Inserts the given elements into the vector. More...
 
void Reserve (SizeType count)
 Reserve space in the vector. More...
 
void Resize (SizeType count)
 Resize the vector. More...
 
void Resize (SizeType count, const ItemType &item)
 Resize the vector. More...
 
Iterator Erase (Iterator iterator)
 Erase an element. More...
 
Iterator Erase (Iterator first, Iterator last)
 Erase a range of elements. More...
 
void Remove (Iterator iterator)
 Removes an element. More...
 
void Swap (Vector &vector)
 Swap the contents of two vectors. More...
 
void Clear ()
 Clear the contents of the vector. More...
 
void Release ()
 Release the memory that the vector holds. More...
 

Additional Inherited Members

- Protected Types inherited from Dali::VectorAlgorithms< IsTrivialType >
typedef VectorBase::SizeType SizeType
 
- Protected Member Functions inherited from Dali::VectorAlgorithms< IsTrivialType >
 VectorAlgorithms ()
 Empty constructor. More...
 
 ~VectorAlgorithms ()
 Empty destructor. More...
 
void Copy (const VectorBase &rhs, SizeType elementSize)
 Copy vector contents. More...
 
void Reserve (SizeType count, SizeType elementSize)
 Reserve space in the vector. More...
 
void Resize (SizeType count, SizeType elementSize)
 Resize the vector. More...
 
void Clear ()
 Clear the contents. More...
 
void Release ()
 Release the vector. More...
 
void Erase (char *address, SizeType elementSize)
 Erase an element. More...
 
char * Erase (char *first, char *last, SizeType elementSize)
 Erase a range of elements. More...
 
void Insert (char *at, char *from, char *to, SizeType elementSize)
 Inserts the given elements into the vector. More...
 
- Protected Attributes inherited from Dali::VectorBase
void * mData
 Pointer to the data. More...
 

Detailed Description

template<class T, bool IsTrivialType = TypeTraits<T>::IS_TRIVIAL_TYPE == true>
class Dali::Vector< T, IsTrivialType >

Vector class with minimum space allocation when its empty.

.0

Parameters
typeof the data that the vector holds.

Definition at line 405 of file dali-vector.h.

Member Typedef Documentation

template<class T, bool IsTrivialType = TypeTraits<T>::IS_TRIVIAL_TYPE == true>
typedef const T* Dali::Vector< T, IsTrivialType >::ConstIterator

Const iterator .0.

Definition at line 415 of file dali-vector.h.

template<class T, bool IsTrivialType = TypeTraits<T>::IS_TRIVIAL_TYPE == true>
typedef T Dali::Vector< T, IsTrivialType >::ItemType

Item type .0.

Definition at line 416 of file dali-vector.h.

template<class T, bool IsTrivialType = TypeTraits<T>::IS_TRIVIAL_TYPE == true>
typedef T* Dali::Vector< T, IsTrivialType >::Iterator

Most simple Iterator is a pointer .0.

Definition at line 414 of file dali-vector.h.

template<class T, bool IsTrivialType = TypeTraits<T>::IS_TRIVIAL_TYPE == true>
typedef VectorBase::SizeType Dali::Vector< T, IsTrivialType >::SizeType

Type definitions.

.0Size type .0

Definition at line 413 of file dali-vector.h.

Member Enumeration Documentation

template<class T, bool IsTrivialType = TypeTraits<T>::IS_TRIVIAL_TYPE == true>
anonymous enum
Enumerator
BaseType 

Definition at line 418 of file dali-vector.h.

Constructor & Destructor Documentation

template<class T, bool IsTrivialType = TypeTraits<T>::IS_TRIVIAL_TYPE == true>
Dali::Vector< T, IsTrivialType >::Vector ( )
inline

Default constructor.

Does not allocate any space. .0

Definition at line 427 of file dali-vector.h.

template<class T, bool IsTrivialType = TypeTraits<T>::IS_TRIVIAL_TYPE == true>
Dali::Vector< T, IsTrivialType >::~Vector ( )
inline

Destructor.

Releases the allocated space. .0

Definition at line 434 of file dali-vector.h.

template<class T, bool IsTrivialType = TypeTraits<T>::IS_TRIVIAL_TYPE == true>
Dali::Vector< T, IsTrivialType >::Vector ( const Vector< T, IsTrivialType > &  vector)
inline

Copy constructor.

.0

Parameters
[in]vectorVector to copy from.

Definition at line 445 of file dali-vector.h.

Member Function Documentation

template<class T, bool IsTrivialType = TypeTraits<T>::IS_TRIVIAL_TYPE == true>
Iterator Dali::Vector< T, IsTrivialType >::Begin ( ) const
inline

Iterator to the beginning of the data.

.0

Returns
Iterator to the beginning of the data.

Definition at line 472 of file dali-vector.h.

Referenced by Dali::Internal::SceneGraph::ConnectionChangePropagator::Add(), Dali::Internal::SceneGraph::UniformMap::Add(), Dali::Toolkit::Text::AtlasRenderer::Impl::AddGlyphs(), Dali::Internal::Adaptor::StatContextManager::AddInternalMarker(), anonymous_namespace{scene-graph-renderer.cpp}::AddMappings(), Dali::Internal::SceneGraph::UpdateManager::AddNode(), Dali::Internal::SceneGraph::UniformMap::AddObserver(), Dali::Internal::SceneGraph::PropertyOwner::AddObserver(), Dali::Internal::Object::AddObserver(), Dali::Internal::SceneGraph::RenderManager::AddPropertyBuffer(), Dali::Internal::SceneGraph::anonymous_namespace{process-render-tasks.cpp}::AddRenderablesForTask(), anonymous_namespace{utc-Dali-RendererFactory.cpp}::AddStretchRegionsToImage(), Dali::Internal::AddUnique(), Dali::Toolkit::Text::AtlasRenderer::Impl::AdjustExtents(), Dali::Toolkit::Text::LayoutEngine::Impl::Align(), Dali::Internal::SceneGraph::UpdateManager::Animate(), Dali::Internal::AnimationPlaylist::AnimationDestroyed(), Dali::Toolkit::Internal::AtlasMeshFactory::AppendMesh(), Dali::Toolkit::Text::AtlasRenderer::Impl::CalculateBlocksSize(), Dali::Internal::Adaptor::FrameTimeStats::CalculateMean(), Dali::AnimationData::Clear(), Dali::Internal::Program::CompileShader(), Dali::Internal::SceneGraph::ConnectionChangePropagator::ConnectedUniformMapChanged(), Dali::Internal::SceneGraph::ConnectionChangePropagator::ConnectionsChanged(), Dali::Internal::SceneGraph::PropertyOwner::ConnectToSceneGraph(), Dali::Internal::SceneGraph::ObjectOwnerContainer< Dali::Internal::SceneGraph::Renderer >::ConstrainObjects(), Dali::Internal::SceneGraph::ConstrainPropertyOwner(), Dali::Internal::SceneGraph::UpdateManager::ConstrainRenderTasks(), Dali::Internal::SceneGraph::UpdateManager::ConstrainShaders(), Dali::Internal::MemoryPoolRelayoutContainer::Contains(), Dali::Internal::SceneGraph::RenderManager::ContextDestroyed(), Dali::AnimationData::CreateAnimation(), Dali::Toolkit::Text::VisualModel::CreateCharacterToGlyphTable(), Dali::Toolkit::Text::VisualModel::CreateGlyphsPerCharacterTable(), Dali::Scripting::CreatePropertyMap(), Dali::Internal::FrameBufferStateCache::DeleteFrameBuffer(), Dali::Internal::SceneGraph::ConnectionChangePropagator::Destroy(), Dali::Internal::SceneGraph::PropertyOwner::Destroy(), Dali::Internal::SceneGraph::UpdateManager::DestroyNode(), Dali::Internal::SceneGraph::Node::DisconnectChild(), Dali::Internal::SceneGraph::PropertyOwner::DisconnectFromSceneGraph(), Dali::Toolkit::Text::Controller::DoRelayout(), DumpJson(), Dali::TizenPlatform::EncodeToJpeg(), Dali::Vector< Material * >::Erase(), Dali::Internal::SceneGraph::UniformMap::Find(), Dali::Internal::RelayoutController::FindAndZero(), Dali::Toolkit::Internal::KeyInputFocusManager::FindFocusControlInStack(), Dali::Toolkit::Internal::RendererFactoryCache::FindRenderer(), Dali::Toolkit::Text::Internal::ValidateFontsPerScript::FindValidFont(), Dali::Toolkit::Text::FreeFontFamilyNames(), Dali::Toolkit::Text::AtlasRenderer::Impl::GenerateUnderlines(), Dali::Toolkit::Text::LogicalModel::GetCharacterDirection(), Dali::Toolkit::Text::GetCharactersDirection(), Dali::Toolkit::Text::Controller::Impl::GetClosestCursorIndex(), Dali::Internal::Adaptor::StatContextManager::GetContext(), Dali::Toolkit::Text::View::GetGlyphs(), Dali::Toolkit::Text::VisualModel::GetGlyphs(), Dali::Toolkit::Text::GetGlyphsMetrics(), Dali::Toolkit::Text::anonymous_namespace{bidirectional-support.cpp}::GetLines(), Dali::Toolkit::Text::LogicalModel::GetLogicalCharacterIndex(), Dali::Toolkit::Text::GetMirroredText(), Dali::Internal::ProgramController::GetProgram(), Dali::Internal::Object::GetPropertyIndex(), Dali::Internal::Object::GetPropertyIndices(), Dali::Toolkit::Text::LogicalModel::GetScript(), Dali::Internal::ProgramController::GlContextDestroyed(), Dali::Vector< Material * >::Insert(), Dali::Toolkit::Text::Controller::InsertText(), Dali::Internal::HitTestAlgorithm::anonymous_namespace{hit-test-algorithm-impl.cpp}::IsActorExclusiveToAnotherRenderTask(), Dali::Internal::SceneGraph::UpdateManager::IsAnimationRunning(), Dali::Toolkit::Text::AtlasRenderer::Impl::IsGlyphUnderlined(), Dali::TizenPlatform::JpegRotate270(), Dali::TizenPlatform::JpegRotate90(), Dali::Toolkit::Text::LayoutEngine::Impl::LayoutText(), Dali::Internal::Program::Link(), Dali::Internal::Program::Load(), Dali::TizenPlatform::LoadBitmapFromJpeg(), Dali::TizenPlatform::ResourceLoader::LoadFile(), Dali::Toolkit::Internal::Model3dView::LoadGeometry(), Dali::Toolkit::Internal::Model3dView::LoadMaterial(), Dali::Internal::SceneGraph::UniformMap::MappingChanged(), Dali::Toolkit::Text::Internal::MergeFontDescriptions(), Dali::OwnerContainer< Material * >::MoveFrom(), Dali::Internal::AnimationPlaylist::NotifyCompleted(), Dali::Internal::PropertyNotificationManager::NotifyProperty(), Dali::Internal::Constrainer::ObjectDestroyed(), Dali::Internal::ConstraintBase::ObjectDestroyed(), Dali::Internal::Constrainer::Observe(), Dali::Internal::ConstraintBase::ObserveObject(), Dali::Toolkit::Internal::KeyInputFocusManager::OnObjectDestroyed(), Dali::Internal::Object::OnSceneObjectAdd(), Dali::Internal::Object::OnSceneObjectRemove(), Dali::Internal::SceneGraph::Renderer::PrepareRender(), Dali::Internal::SceneGraph::Node::PrepareRender(), Dali::Internal::SceneGraph::PrintNodes(), Dali::Internal::SceneGraph::PrintNodeTree(), Dali::Internal::SceneGraph::UpdateManager::ProcessGestures(), Dali::Internal::NotificationManager::ProcessMessages(), Dali::Toolkit::Text::Controller::ProcessModifyEvents(), Dali::Internal::SceneGraph::UpdateManager::ProcessPropertyNotifications(), Dali::Internal::SceneGraph::ProcessRenderTasks(), Dali::Internal::PropertyNotificationManager::PropertyNotificationDestroyed(), Dali::Internal::SceneGraph::ConstraintBase::PropertyOwnerDestroyed(), Dali::Internal::SceneGraph::Node::RecursiveDisconnectFromSceneGraph(), Dali::Toolkit::Internal::anonymous_namespace{npatch-renderer.cpp}::RegisterStretchProperties(), Dali::Internal::RelayoutController::Relayout(), Dali::Toolkit::Text::LayoutEngine::Impl::ReLayoutRightToLeftLines(), Dali::Internal::SceneGraph::ConnectionChangePropagator::Remove(), Dali::Internal::SceneGraph::ObjectOwnerContainer< Dali::Internal::SceneGraph::Renderer >::Remove(), Dali::Internal::SceneGraph::UniformMap::Remove(), Dali::Internal::Constrainer::Remove(), Dali::Vector< Material * >::Remove(), Dali::Internal::SceneGraph::PropertyOwner::RemoveConstraint(), Dali::Internal::Adaptor::StatContextManager::RemoveContext(), Dali::Internal::SceneGraph::RenderManager::RemoveGeometry(), Dali::Internal::SceneGraph::UpdateManager::RemoveGesture(), Dali::Internal::SceneGraph::UniformMap::RemoveObserver(), Dali::Internal::SceneGraph::PropertyOwner::RemoveObserver(), Dali::Internal::Object::RemoveObserver(), Dali::Internal::SceneGraph::RenderGeometry::RemovePropertyBuffer(), Dali::Internal::SceneGraph::RenderManager::RemovePropertyBuffer(), Dali::Internal::SceneGraph::UpdateManager::RemovePropertyNotification(), Dali::Internal::SceneGraph::RenderManager::RemoveRenderer(), Dali::Internal::SceneGraph::Node::RemoveRenderer(), Dali::Internal::SceneGraph::RenderManager::Impl::RemoveRenderTracker(), Dali::Internal::RelayoutController::RemoveRequest(), Dali::Internal::SceneGraph::RenderManager::RemoveSampler(), Dali::Internal::SceneGraph::UpdateManager::RemoveShader(), Dali::Internal::SceneGraph::RenderTaskList::RemoveTask(), Dali::Toolkit::Text::Controller::RemoveText(), Dali::Internal::SceneGraph::Material::RemoveTexture(), Dali::Internal::SceneGraph::Geometry::RemoveVertexBuffer(), Dali::Toolkit::Text::AtlasRenderer::Render(), Dali::Internal::SceneGraph::RenderManager::Render(), Dali::Toolkit::Text::ReorderLines(), Dali::Toolkit::Text::Controller::Impl::RepositionSelectionHandles(), Dali::Internal::SceneGraph::RenderInstruction::Reset(), Dali::Internal::ProgramController::ResetProgramMatrices(), Dali::Internal::SceneGraph::UpdateManager::ResetProperties(), Dali::Internal::SceneGraph::ObjectOwnerContainer< Dali::Internal::SceneGraph::Renderer >::ResetToBaseValues(), Dali::Internal::SceneGraph::PropertyOwner::ResetToBaseValues(), Dali::Toolkit::Text::Controller::Impl::RetrieveSelection(), Dali::Toolkit::Internal::RendererFactoryCache::SaveRenderer(), Dali::Internal::SceneGraph::Animation::SetAnimatorsActive(), Dali::Toolkit::Text::SetBidirectionalInfo(), Dali::Toolkit::Text::SetColorSegmentationInfo(), Dali::Internal::SceneGraph::Animation::SetDisconnectAction(), Dali::Toolkit::Text::SetLineBreakInfo(), Dali::Internal::Adaptor::StatContextManager::SetLoggingLevel(), Dali::Toolkit::Text::Internal::MultilanguageSupport::SetScripts(), Dali::Toolkit::Text::Controller::SetText(), Dali::Internal::Render::Renderer::SetUniforms(), Dali::Toolkit::Text::LogicalModel::SetVisualToLogicalMap(), Dali::Toolkit::Text::SetWordBreakInfo(), Dali::Toolkit::Text::ShapeText(), Dali::Toolkit::Text::Controller::ShowPlaceholderText(), Dali::Internal::SceneGraph::SortRenderItems(), Dali::Internal::SceneGraph::ConstraintBase::StartObservation(), Dali::Internal::SceneGraph::ConstraintBase::StopObservation(), Dali::Internal::ConstraintBase::StopObservation(), Dali::Internal::BitmapTexture::Update(), Dali::Internal::SceneGraph::UpdateManager::Update(), Dali::Internal::SceneGraph::Animation::UpdateAnimators(), Dali::Toolkit::Text::UpdateCharacterRuns(), Dali::Internal::SceneGraph::RenderInstruction::UpdateCompleted(), Dali::Toolkit::Text::Controller::Impl::UpdateModel(), Dali::Internal::SceneGraph::UpdateNodesAndAttachments(), Dali::Internal::SceneGraph::RenderManager::Impl::UpdateTrackers(), UtcDaliVectorAcidTest(), UtcDaliVectorAsserts(), UtcDaliVectorDoubleRemove(), UtcDaliVectorInsert01(), UtcDaliVectorInsert02(), UtcDaliVectorIntErase(), UtcDaliVectorIntEraseRange(), UtcDaliVectorIntEraseRangeAssert(), UtcDaliVectorIntInsertAssert(), UtcDaliVectorIterate(), UtcDaliVectorPair(), anonymous_namespace{utc-Dali-Text-CharacterSetConversion.cpp}::Utf8ToUtf32Test(), Dali::Toolkit::Text::Internal::MultilanguageSupport::ValidateFonts(), Dali::TizenPlatform::anonymous_namespace{loader-png.cpp}::WriteData(), Dali::Internal::Constrainer::~Constrainer(), Dali::Internal::SceneGraph::UpdateManager::Impl::~Impl(), Dali::Internal::Object::~Object(), and Dali::Internal::Adaptor::StatContextManager::~StatContextManager().

template<class T, bool IsTrivialType = TypeTraits<T>::IS_TRIVIAL_TYPE == true>
void Dali::Vector< T, IsTrivialType >::Clear ( )
inline

Clear the contents of the vector.

Keeps its capacity. .0

Definition at line 760 of file dali-vector.h.

Referenced by Dali::Toolkit::Internal::ObjLoader::CalculateTangentArray(), Dali::AnimationData::Clear(), Dali::Internal::MemoryPoolRelayoutContainer::Clear(), Dali::OwnerContainer< Material * >::Clear(), Dali::Internal::SceneGraph::Layer::ClearRenderables(), Dali::Toolkit::Internal::ObjLoader::CreateGeometry(), Dali::Internal::SceneGraph::PropertyOwner::Destroy(), Dali::Toolkit::Text::FreeFontFamilyNames(), Dali::Internal::SceneGraph::RenderGeometry::GetAttributeLocationFromProgram(), Dali::Internal::Object::GetPropertyIndices(), Dali::TypeInfo::GetPropertyIndices(), Dali::Toolkit::Internal::NPatchRenderer::InitializeFromBrokenImage(), Dali::Internal::Adaptor::EglImplementation::InitializeGles(), Dali::Internal::anonymous_namespace{notification-manager.cpp}::MoveElements(), Dali::Internal::NinePatchImage::ParseBorders(), Dali::Toolkit::Text::Controller::ProcessModifyEvents(), Dali::Internal::SceneGraph::Node::RecursiveDisconnectFromSceneGraph(), Dali::Internal::RelayoutController::Relayout(), Dali::Internal::Adaptor::FrameTimeStats::Reset(), Dali::Internal::FrameBufferStateCache::Reset(), Dali::Internal::LinearConstrainer::SetDefaultProperty(), Dali::Internal::Render::Renderer::SetUniforms(), Dali::Toolkit::Text::LogicalModel::SetVisualToLogicalMap(), Dali::Internal::SceneGraph::ConstraintBase::StopObservation(), Dali::Internal::ConstraintBase::StopObservation(), Dali::Toolkit::Text::UpdateCharacterRuns(), UtcDaliEmptyVectorInt(), UtcDaliVectorInsert01(), UtcDaliVectorInt(), UtcDaliVectorIntErase(), UtcDaliVectorIterate(), Dali::Toolkit::Text::Internal::MultilanguageSupport::ValidateFonts(), and Dali::Internal::Adaptor::StatContextManager::~StatContextManager().

Here is the caller graph for this function:

template<class T, bool IsTrivialType = TypeTraits<T>::IS_TRIVIAL_TYPE == true>
Iterator Dali::Vector< T, IsTrivialType >::End ( ) const
inline

Iterator to the end of the data (one past last element).

.0

Returns
Iterator to the end of the data (one past last element).

Definition at line 483 of file dali-vector.h.

Referenced by Dali::Internal::SceneGraph::ConnectionChangePropagator::Add(), Dali::Internal::SceneGraph::UniformMap::Add(), Dali::Internal::Adaptor::StatContextManager::AddInternalMarker(), anonymous_namespace{scene-graph-renderer.cpp}::AddMappings(), Dali::Internal::SceneGraph::UpdateManager::AddNode(), Dali::Internal::SceneGraph::UniformMap::AddObserver(), Dali::Internal::SceneGraph::PropertyOwner::AddObserver(), Dali::Internal::Object::AddObserver(), Dali::Internal::SceneGraph::RenderManager::AddPropertyBuffer(), Dali::Internal::SceneGraph::anonymous_namespace{process-render-tasks.cpp}::AddRenderablesForTask(), anonymous_namespace{utc-Dali-RendererFactory.cpp}::AddStretchRegionsToImage(), Dali::Internal::AddUnique(), Dali::Toolkit::Text::AtlasRenderer::Impl::AdjustExtents(), Dali::Toolkit::Text::LayoutEngine::Impl::Align(), Dali::Internal::SceneGraph::UpdateManager::Animate(), Dali::Internal::AnimationPlaylist::AnimationDestroyed(), Dali::Toolkit::Internal::AtlasMeshFactory::AppendMesh(), Dali::Toolkit::Text::AtlasRenderer::Impl::CalculateBlocksSize(), Dali::Internal::Adaptor::FrameTimeStats::CalculateMean(), Dali::AnimationData::Clear(), Dali::OwnerContainer< Material * >::Clear(), Dali::Internal::SceneGraph::ConnectionChangePropagator::ConnectedUniformMapChanged(), Dali::Internal::SceneGraph::ConnectionChangePropagator::ConnectionsChanged(), Dali::Internal::SceneGraph::PropertyOwner::ConnectToSceneGraph(), Dali::Internal::SceneGraph::ObjectOwnerContainer< Dali::Internal::SceneGraph::Renderer >::ConstrainObjects(), Dali::Internal::SceneGraph::ConstrainPropertyOwner(), Dali::Internal::SceneGraph::UpdateManager::ConstrainRenderTasks(), Dali::Internal::SceneGraph::UpdateManager::ConstrainShaders(), Dali::Internal::MemoryPoolRelayoutContainer::Contains(), Dali::Internal::SceneGraph::RenderManager::ContextDestroyed(), Dali::AnimationData::CreateAnimation(), Dali::Toolkit::Text::VisualModel::CreateCharacterToGlyphTable(), Dali::Toolkit::Text::VisualModel::CreateGlyphsPerCharacterTable(), Dali::Scripting::CreatePropertyMap(), Dali::Internal::FrameBufferStateCache::DeleteFrameBuffer(), Dali::Internal::SceneGraph::ConnectionChangePropagator::Destroy(), Dali::Internal::SceneGraph::PropertyOwner::Destroy(), Dali::Internal::SceneGraph::UpdateManager::DestroyNode(), Dali::Internal::SceneGraph::Node::DisconnectChild(), Dali::Internal::SceneGraph::PropertyOwner::DisconnectFromSceneGraph(), Dali::Toolkit::Text::Controller::DoRelayout(), DumpJson(), Dali::Vector< Material * >::Erase(), Dali::Internal::SceneGraph::UniformMap::Find(), Dali::Internal::RelayoutController::FindAndZero(), Dali::Toolkit::Internal::KeyInputFocusManager::FindFocusControlInStack(), Dali::Toolkit::Internal::RendererFactoryCache::FindRenderer(), Dali::Toolkit::Text::Internal::ValidateFontsPerScript::FindValidFont(), Dali::Toolkit::Text::FreeFontFamilyNames(), Dali::Toolkit::Text::AtlasRenderer::Impl::GenerateUnderlines(), Dali::Toolkit::Text::GetCharactersDirection(), Dali::Internal::Adaptor::StatContextManager::GetContext(), Dali::Toolkit::Text::anonymous_namespace{bidirectional-support.cpp}::GetLines(), Dali::Toolkit::Text::GetMirroredText(), Dali::Internal::ProgramController::GetProgram(), Dali::Internal::Object::GetPropertyIndex(), Dali::Internal::Object::GetPropertyIndices(), Dali::Internal::ProgramController::GlContextDestroyed(), Dali::Vector< Material * >::Insert(), Dali::Toolkit::Text::Controller::InsertText(), Dali::Internal::HitTestAlgorithm::anonymous_namespace{hit-test-algorithm-impl.cpp}::IsActorExclusiveToAnotherRenderTask(), Dali::Internal::SceneGraph::UpdateManager::IsAnimationRunning(), Dali::Toolkit::Text::AtlasRenderer::Impl::IsGlyphUnderlined(), Dali::Toolkit::Internal::KeyInputFocusManager::IsKeyboardListener(), Dali::Internal::SceneGraph::UniformMap::MappingChanged(), Dali::Toolkit::Text::Internal::MergeFontDescriptions(), Dali::OwnerContainer< Material * >::MoveFrom(), Dali::Internal::AnimationPlaylist::NotifyCompleted(), Dali::Internal::PropertyNotificationManager::NotifyProperty(), Dali::Internal::Constrainer::ObjectDestroyed(), Dali::Internal::ConstraintBase::ObjectDestroyed(), Dali::Internal::Constrainer::Observe(), Dali::Internal::ConstraintBase::ObserveObject(), Dali::Toolkit::Internal::KeyInputFocusManager::OnObjectDestroyed(), Dali::Internal::Object::OnSceneObjectAdd(), Dali::Internal::Object::OnSceneObjectRemove(), Dali::Internal::MemoryPoolRelayoutContainer::PopBack(), Dali::Internal::SceneGraph::Renderer::PrepareRender(), Dali::Internal::SceneGraph::Node::PrepareRender(), Dali::Internal::SceneGraph::PrintNodes(), Dali::Internal::SceneGraph::PrintNodeTree(), Dali::Internal::SceneGraph::UpdateManager::ProcessGestures(), Dali::Internal::NotificationManager::ProcessMessages(), Dali::Toolkit::Text::Controller::ProcessModifyEvents(), Dali::Internal::SceneGraph::UpdateManager::ProcessPropertyNotifications(), Dali::Internal::SceneGraph::ProcessRenderTasks(), Dali::Internal::PropertyNotificationManager::PropertyNotificationDestroyed(), Dali::Internal::SceneGraph::ConstraintBase::PropertyOwnerDestroyed(), Dali::Internal::SceneGraph::Node::RecursiveDisconnectFromSceneGraph(), Dali::Toolkit::Internal::anonymous_namespace{npatch-renderer.cpp}::RegisterStretchProperties(), Dali::Internal::RelayoutController::Relayout(), Dali::Internal::SceneGraph::ConnectionChangePropagator::Remove(), Dali::Internal::SceneGraph::ObjectOwnerContainer< Dali::Internal::SceneGraph::Renderer >::Remove(), Dali::Internal::SceneGraph::UniformMap::Remove(), Dali::Internal::Constrainer::Remove(), Dali::Vector< Material * >::Remove(), Dali::Internal::SceneGraph::PropertyOwner::RemoveConstraint(), Dali::Internal::Adaptor::StatContextManager::RemoveContext(), Dali::Toolkit::Internal::KeyInputFocusManager::RemoveFocus(), Dali::Internal::SceneGraph::RenderManager::RemoveGeometry(), Dali::Internal::SceneGraph::UpdateManager::RemoveGesture(), Dali::Internal::SceneGraph::UniformMap::RemoveObserver(), Dali::Internal::SceneGraph::PropertyOwner::RemoveObserver(), Dali::Internal::Object::RemoveObserver(), Dali::Internal::SceneGraph::RenderManager::RemovePropertyBuffer(), Dali::Internal::SceneGraph::UpdateManager::RemovePropertyNotification(), Dali::Internal::SceneGraph::RenderManager::RemoveRenderer(), Dali::Internal::SceneGraph::RenderManager::Impl::RemoveRenderTracker(), Dali::Internal::RelayoutController::RemoveRequest(), Dali::Internal::SceneGraph::RenderManager::RemoveSampler(), Dali::Internal::SceneGraph::UpdateManager::RemoveShader(), Dali::Internal::SceneGraph::RenderTaskList::RemoveTask(), Dali::Internal::SceneGraph::RenderManager::Render(), Dali::Toolkit::Text::ReorderLines(), Dali::Internal::SceneGraph::RenderInstruction::Reset(), Dali::Internal::ProgramController::ResetProgramMatrices(), Dali::Internal::SceneGraph::UpdateManager::ResetProperties(), Dali::Internal::SceneGraph::ObjectOwnerContainer< Dali::Internal::SceneGraph::Renderer >::ResetToBaseValues(), Dali::Internal::SceneGraph::PropertyOwner::ResetToBaseValues(), Dali::OwnerContainer< Material * >::Resize(), Dali::Toolkit::Internal::RendererFactoryCache::SaveRenderer(), Dali::Internal::SceneGraph::Animation::SetAnimatorsActive(), Dali::Toolkit::Text::SetBidirectionalInfo(), Dali::Toolkit::Text::SetColorSegmentationInfo(), Dali::Internal::SceneGraph::Animation::SetDisconnectAction(), Dali::Toolkit::Internal::KeyInputFocusManager::SetFocus(), Dali::Internal::Adaptor::StatContextManager::SetLoggingLevel(), Dali::Internal::Render::Renderer::SetUniforms(), Dali::Internal::SceneGraph::ConstraintBase::StartObservation(), Dali::Internal::SceneGraph::ConstraintBase::StopObservation(), Dali::Internal::ConstraintBase::StopObservation(), Dali::Internal::SceneGraph::UpdateManager::Update(), Dali::Internal::SceneGraph::Animation::UpdateAnimators(), Dali::Toolkit::Text::UpdateCharacterRuns(), Dali::Internal::SceneGraph::RenderInstruction::UpdateCompleted(), Dali::Toolkit::Text::Controller::Impl::UpdateModel(), Dali::Internal::SceneGraph::UpdateNodesAndAttachments(), Dali::Internal::SceneGraph::RenderManager::Impl::UpdateTrackers(), UtcDaliVectorAsserts(), UtcDaliVectorDoubleRemove(), UtcDaliVectorInsert01(), UtcDaliVectorInsert02(), UtcDaliVectorIntErase(), UtcDaliVectorIntEraseRange(), UtcDaliVectorIntEraseRangeAssert(), UtcDaliVectorIntInsertAssert(), UtcDaliVectorIterate(), UtcDaliVectorPair(), Dali::Toolkit::Text::Internal::MultilanguageSupport::ValidateFonts(), Dali::Internal::Constrainer::~Constrainer(), Dali::Internal::SceneGraph::UpdateManager::Impl::~Impl(), Dali::Internal::Object::~Object(), and Dali::Internal::Adaptor::StatContextManager::~StatContextManager().

template<class T, bool IsTrivialType = TypeTraits<T>::IS_TRIVIAL_TYPE == true>
Iterator Dali::Vector< T, IsTrivialType >::Erase ( Iterator  iterator)
inline

Erase an element.

Does not change capacity. Other elements get moved.

.0

Parameters
[in]iteratorIterator pointing to item to remove.
Returns
Iterator pointing to next element.
Precondition
Iterator iterator must be within the vector's range ( Vector::Begin(), Vector::End() - 1 ).

Definition at line 667 of file dali-vector.h.

Referenced by Dali::Internal::FrameBufferStateCache::DeleteFrameBuffer(), Dali::Internal::SceneGraph::UpdateManager::DestroyNode(), Dali::Internal::SceneGraph::Node::DisconnectChild(), Dali::OwnerContainer< Material * >::Erase(), Dali::Internal::Constrainer::ObjectDestroyed(), Dali::Internal::ConstraintBase::ObjectDestroyed(), Dali::Toolkit::Internal::KeyInputFocusManager::OnObjectDestroyed(), Dali::Internal::MemoryPoolRelayoutContainer::PopBack(), Dali::Internal::SceneGraph::ConstraintBase::PropertyOwnerDestroyed(), Dali::OwnerContainer< Material * >::Release(), Dali::Internal::SceneGraph::ConnectionChangePropagator::Remove(), Dali::Internal::Constrainer::Remove(), Dali::Internal::Adaptor::StatContextManager::RemoveContext(), Dali::Toolkit::Internal::KeyInputFocusManager::RemoveFocus(), Dali::Internal::SceneGraph::UniformMap::RemoveObserver(), Dali::Internal::SceneGraph::PropertyOwner::RemoveObserver(), Dali::Internal::Object::RemoveObserver(), Dali::Internal::SceneGraph::Node::RemoveRenderer(), Dali::Internal::RelayoutController::RemoveRequest(), Dali::Toolkit::Text::Controller::RemoveText(), Dali::Internal::SceneGraph::Material::RemoveTexture(), Dali::Internal::SceneGraph::Geometry::RemoveVertexBuffer(), Dali::Toolkit::Text::Controller::Impl::RetrieveSelection(), Dali::Toolkit::Internal::KeyInputFocusManager::SetFocus(), UtcDaliVectorAcidTest(), UtcDaliVectorAsserts(), UtcDaliVectorIntErase(), UtcDaliVectorIntEraseRange(), and UtcDaliVectorIntEraseRangeAssert().

Here is the caller graph for this function:

template<class T, bool IsTrivialType = TypeTraits<T>::IS_TRIVIAL_TYPE == true>
Iterator Dali::Vector< T, IsTrivialType >::Erase ( Iterator  first,
Iterator  last 
)
inline

Erase a range of elements.

Does not change capacity. Other elements get moved.

.0

Parameters
[in]firstIterator to the first element to be erased.
[in]lastIterator to the last element to be erased.
Returns
Iterator pointing to the next element of the last one.
Precondition
Iterator first must be in the vector's range ( Vector::Begin(), Vector::End() ).
Iterator last must be in the vector's range ( Vector::Begin(), Vector::End() ).
Iterator first must not be grater than Iterator last.

Definition at line 697 of file dali-vector.h.

template<class T, bool IsTrivialType = TypeTraits<T>::IS_TRIVIAL_TYPE == true>
void Dali::Vector< T, IsTrivialType >::Insert ( Iterator  at,
const ItemType element 
)
inline

Insert an element to the vector.

Elements after at are moved one position to the right.

The underlying storage may be reallocated to provide space. If this occurs, all pre-existing pointers into the vector will become invalid.

Precondition
Iterator at must be in the vector's range ( Vector::Begin(), Vector::End() ).
Parameters
[in]atIterator where to insert the elements into the vector.
[in]elementAn element to be added. .0

Definition at line 559 of file dali-vector.h.

Referenced by Dali::Internal::SceneGraph::UpdateManager::AddNode(), Dali::Toolkit::Internal::AtlasMeshFactory::AppendMesh(), Dali::Toolkit::Text::Controller::InsertText(), UtcDaliVectorInsert01(), UtcDaliVectorInsert02(), and UtcDaliVectorIntInsertAssert().

Here is the caller graph for this function:

template<class T, bool IsTrivialType = TypeTraits<T>::IS_TRIVIAL_TYPE == true>
void Dali::Vector< T, IsTrivialType >::Insert ( Iterator  at,
Iterator  from,
Iterator  to 
)
inline

Inserts the given elements into the vector.

Elements after at are moved the number of given elements positions to the right.

The underlying storage may be reallocated to provide space. If this occurs, all pre-existing pointers into the vector will become invalid.

.0

Parameters
[in]atIterator where to insert the elements into the vector.
[in]fromIterator to the first element to be inserted.
[in]toIterator to the last element to be inserted.
Precondition
Iterator at must be in the vector's range ( Vector::Begin(), Vector::End() ).
Iterators from and to must be valid iterators.
Iterator from must not be grater than Iterator to.

Definition at line 588 of file dali-vector.h.

template<class T, bool IsTrivialType = TypeTraits<T>::IS_TRIVIAL_TYPE == true>
Vector& Dali::Vector< T, IsTrivialType >::operator= ( const Vector< T, IsTrivialType > &  vector)
inline

Assignment operator.

.0

Parameters
[in]vectorVector to assign from.
Returns
Reference to self for chaining.

Definition at line 458 of file dali-vector.h.

Referenced by Dali::Vector< Material * >::Vector().

Here is the caller graph for this function:

template<class T, bool IsTrivialType = TypeTraits<T>::IS_TRIVIAL_TYPE == true>
ItemType& Dali::Vector< T, IsTrivialType >::operator[] ( SizeType  index)
inline

Subscript operator.

.0

Parameters
[in]indexIndex of the element.
Returns
Reference to the element for given index.
Precondition
Index must be in the vector's range.

Definition at line 497 of file dali-vector.h.

Referenced by Dali::Vector< Material * >::PushBack().

Here is the caller graph for this function:

template<class T, bool IsTrivialType = TypeTraits<T>::IS_TRIVIAL_TYPE == true>
const ItemType& Dali::Vector< T, IsTrivialType >::operator[] ( SizeType  index) const
inline

Subscript operator.

.0

Parameters
[in]indexof the element.
Returns
reference to the element for given index.
Precondition
index must be in the vector's range.

Definition at line 510 of file dali-vector.h.

template<class T, bool IsTrivialType = TypeTraits<T>::IS_TRIVIAL_TYPE == true>
void Dali::Vector< T, IsTrivialType >::PushBack ( const ItemType element)
inline

Push back an element to the vector.

The underlying storage may be reallocated to provide space. If this occurs, all pre-existing pointers into the vector will become invalid.

.0

Parameters
[in]elementElement to be added.

Definition at line 529 of file dali-vector.h.

Referenced by Dali::Internal::MemoryPoolRelayoutContainer::Add(), Dali::Internal::SceneGraph::ConnectionChangePropagator::Add(), Dali::Internal::SceneGraph::ObjectOwnerContainer< Dali::Internal::SceneGraph::Renderer >::Add(), Dali::AnimationData::Add(), Dali::Internal::SceneGraph::DiscardQueue::Add(), Dali::Internal::SceneGraph::UniformMap::Add(), Dali::Internal::SceneGraph::UpdateManager::AddAnimation(), Dali::Internal::SceneGraph::Animation::AddAnimator(), Dali::Internal::Animation::AddAnimatorConnector(), Dali::Internal::Adaptor::StatContextManager::AddContext(), Dali::Toolkit::Internal::TextSelectionToolbar::AddDivider(), Dali::Internal::SceneGraph::RenderManager::AddGeometry(), Dali::Internal::SceneGraph::UpdateManager::AddGesture(), Dali::Toolkit::Text::AtlasRenderer::Impl::AddGlyphs(), anonymous_namespace{scene-graph-renderer.cpp}::AddMappings(), Dali::Internal::SceneGraph::UniformMap::AddObserver(), Dali::Internal::SceneGraph::PropertyOwner::AddObserver(), Dali::Internal::Object::AddObserver(), Dali::Internal::ProgramController::AddProgram(), Dali::Internal::SceneGraph::RenderGeometry::AddPropertyBuffer(), Dali::Internal::SceneGraph::RenderManager::AddPropertyBuffer(), Dali::Internal::SceneGraph::UpdateManager::AddPropertyNotification(), Dali::Toolkit::Internal::anonymous_namespace{npatch-renderer.cpp}::AddQuadIndices(), Dali::Internal::SceneGraph::anonymous_namespace{process-render-tasks.cpp}::AddRenderablesForTask(), Dali::Internal::SceneGraph::RenderManager::AddRenderer(), Dali::Internal::SceneGraph::Node::AddRenderer(), Dali::Internal::SceneGraph::RenderManager::Impl::AddRenderTracker(), Dali::Internal::RelayoutController::AddRequest(), Dali::Internal::SceneGraph::RenderManager::AddSampler(), Dali::Internal::SceneGraph::UpdateManager::AddShader(), Dali::Internal::SceneGraph::RenderTaskList::AddTask(), Dali::Internal::SceneGraph::Material::AddTexture(), Dali::Internal::AddUnique(), Dali::Toolkit::Internal::anonymous_namespace{npatch-renderer.cpp}::AddVertex(), Dali::Internal::SceneGraph::Geometry::AddVertexBuffer(), Dali::Toolkit::Text::AtlasRenderer::Impl::AdjustExtents(), Dali::Internal::AnimationPlaylist::AnimationCreated(), Dali::Internal::PropertyConstraint< PropertyType >::Apply(), Dali::Internal::SceneGraph::PropertyOwner::ApplyConstraint(), Dali::Toolkit::Internal::TableView::CalculateFillSizes(), Dali::Internal::Adaptor::EglImplementation::ChooseConfig(), Dali::Internal::SceneGraph::Node::ConnectChild(), Dali::Internal::Constraint< PropertyType >::ConnectConstraint(), Dali::Internal::Constraint< float >::ConnectConstraint(), Dali::Toolkit::Text::VisualModel::CreateCharacterToGlyphTable(), Dali::Internal::anonymous_namespace{image-actor-impl.cpp}::CreateGeometry(), Dali::Toolkit::Internal::BubbleEmitter::CreateGeometry(), Dali::Toolkit::Internal::anonymous_namespace{image-renderer.cpp}::CreateGeometry(), Dali::Toolkit::Internal::ObjLoader::CreateGeometryArray(), Dali::Toolkit::Text::VisualModel::CreateGlyphsPerCharacterTable(), Dali::Toolkit::Internal::AtlasMeshFactory::CreateQuad(), Dali::Toolkit::Internal::GradientRenderer::DoCreatePropertyMap(), Dali::Internal::Adaptor::FrameTimeStats::EndTime(), Dali::Internal::FrameBufferStateCache::FrameBuffersCreated(), Dali::Toolkit::Text::AtlasRenderer::Impl::GenerateUnderlines(), Dali::Internal::SceneGraph::RenderGeometry::GetAttributeLocationFromProgram(), Dali::Internal::ObjectImplHelper< DEFAULT_PROPERTY_COUNT >::GetDefaultPropertyIndices(), Dali::Internal::Path::GetDefaultPropertyIndices(), Dali::Internal::PathConstrainer::GetDefaultPropertyIndices(), Dali::Internal::LinearConstrainer::GetDefaultPropertyIndices(), Dali::Internal::CameraActor::GetDefaultPropertyIndices(), Dali::Internal::ShaderEffect::GetDefaultPropertyIndices(), Dali::Internal::Layer::GetDefaultPropertyIndices(), Dali::Internal::PanGestureDetector::GetDefaultPropertyIndices(), Dali::Internal::ImageActor::GetDefaultPropertyIndices(), Dali::Internal::RenderTask::GetDefaultPropertyIndices(), Dali::Internal::Actor::GetDefaultPropertyIndices(), Dali::Internal::SceneGraph::RenderList::GetNextFreeItem(), Dali::Internal::SceneGraph::RenderInstruction::GetNextFreeRenderList(), Dali::Toolkit::Internal::ScrollBar::GetProperty(), Dali::Internal::TypeInfo::GetPropertyIndices(), Dali::Internal::Object::GetPropertyIndices(), Dali::Toolkit::Internal::GradientRenderer::GetStopOffsets(), Dali::GreaterThanCondition(), Dali::Toolkit::Internal::NPatchRenderer::InitializeFromBrokenImage(), Dali::Internal::Adaptor::EglImplementation::InitializeGles(), Dali::InsideCondition(), Dali::Internal::SceneGraph::PropertyOwner::InstallCustomProperty(), Dali::Internal::SceneGraph::Shader::InstallUniformMetaInRender(), Dali::Toolkit::Text::LayoutEngine::Impl::LayoutText(), Dali::LessThanCondition(), Dali::Internal::anonymous_namespace{notification-manager.cpp}::MoveElements(), Dali::OwnerContainer< Material * >::MoveFrom(), Dali::Internal::Constrainer::Observe(), Dali::Internal::ConstraintBase::ObserveObject(), Dali::OutsideCondition(), Dali::Internal::NinePatchImage::ParseBorders(), Dali::Internal::SceneGraph::Node::PrepareRender(), Dali::Internal::PropertyNotification::PropertyNotification(), Dali::Internal::PropertyNotificationManager::PropertyNotificationCreated(), Dali::Internal::NotificationManager::QueueMessage(), Dali::Internal::Object::RegisterAnimatableProperty(), Dali::Internal::Object::RegisterProperty(), Dali::Internal::Object::RegisterSceneGraphProperty(), Dali::Toolkit::Text::ReorderLines(), Dali::Internal::SceneGraph::RenderInstructionContainer::ResetAndReserve(), Dali::Vector< Material * >::Resize(), Dali::Toolkit::Internal::RendererFactoryCache::SaveRenderer(), Dali::Toolkit::Text::SetBidirectionalInfo(), Dali::Toolkit::Internal::KeyInputFocusManager::SetFocus(), Dali::Toolkit::Text::Internal::MultilanguageSupport::SetScripts(), anonymous_namespace{utc-Dali-ImageOperations.cpp}::SetupScanlineForHalvingTests1Byte(), anonymous_namespace{utc-Dali-ImageOperations.cpp}::SetupScanlineForHalvingTests2Bytes(), anonymous_namespace{utc-Dali-ImageOperations.cpp}::SetupScanlineForHalvingTestsRGB565(), anonymous_namespace{utc-Dali-ImageOperations.cpp}::SetupScanlineForHalvingTestsRGBA8888(), anonymous_namespace{utc-Dali-ImageOperations.cpp}::SetupScanlinesRGBA8888(), Dali::Toolkit::Text::ShapeText(), Dali::StepCondition(), Dali::Toolkit::Text::UpdateCharacterRuns(), Dali::Toolkit::Text::Decorator::Impl::UpdateHighlight(), UtcDaliConstraintsEqualToConstraintFloat(), UtcDaliConstraintsEqualToConstraintMatrix(), UtcDaliConstraintsEqualToConstraintMatrix3(), UtcDaliConstraintsEqualToConstraintQuaternion(), UtcDaliConstraintsEqualToConstraintVector2(), UtcDaliConstraintsEqualToConstraintVector3(), UtcDaliConstraintsEqualToConstraintVector4(), UtcDaliConstraintsLookAt(), UtcDaliConstraintsRelativeToConstraintFloat(), UtcDaliConstraintsRelativeToConstraintUsingFloat(), UtcDaliConstraintsRelativeToConstraintUsingVector3(), UtcDaliFixedSizeMemoryPoolStressTest(), UtcDaliPropertyNotificationVariableStep(), UtcDaliTextMultiLanguageSetScripts(), UtcDaliToolkitScrollBarGetScrollPositionIntervalsP(), UtcDaliToolkitScrollBarScrollPositionIntervalReachedSignalN(), UtcDaliToolkitScrollBarScrollPositionIntervalReachedSignalP(), UtcDaliToolkitScrollBarSetScrollPositionIntervalsP(), UtcDaliVectorAcidTest(), UtcDaliVectorDoubleRemove(), UtcDaliVectorInsert01(), UtcDaliVectorInsert02(), UtcDaliVectorInt(), UtcDaliVectorIntCopy(), UtcDaliVectorIntErase(), UtcDaliVectorIntEraseRange(), UtcDaliVectorIntEraseRangeAssert(), UtcDaliVectorIntInsertAssert(), UtcDaliVectorIntSwap(), UtcDaliVectorIterate(), UtcDaliVectorMatrixP(), UtcDaliVectorPair(), UtcDaliVectorPushBack(), UtcDaliVectorVector2P(), UtcDaliVectorVector3P(), Dali::Toolkit::Text::Internal::MultilanguageSupport::ValidateFonts(), and Dali::VariableStepCondition().

template<class T, bool IsTrivialType = TypeTraits<T>::IS_TRIVIAL_TYPE == true>
void Dali::Vector< T, IsTrivialType >::Release ( )
inline

Release the memory that the vector holds.

.0

Definition at line 769 of file dali-vector.h.

Referenced by UtcDaliEmptyVectorInt(), and Dali::Vector< Material * >::~Vector().

Here is the caller graph for this function:

template<class T, bool IsTrivialType = TypeTraits<T>::IS_TRIVIAL_TYPE == true>
void Dali::Vector< T, IsTrivialType >::Remove ( Iterator  iterator)
inline

Removes an element.

Does not maintain order. Swaps the element with end and decreases size by one. This is much faster than Erase so use this in case order does not matter. Does not change capacity.

.0

Parameters
[in]iteratorIterator pointing to item to remove.
Precondition
Iterator iterator must be in the vector's range ( Vector::Begin(), Vector::End() - 1 ).

Definition at line 733 of file dali-vector.h.

Referenced by Dali::Internal::AnimationPlaylist::AnimationDestroyed(), Dali::Vector< Material * >::Erase(), Dali::Internal::PropertyNotificationManager::PropertyNotificationDestroyed(), Dali::Internal::SceneGraph::RenderGeometry::RemovePropertyBuffer(), UtcDaliVectorAsserts(), and UtcDaliVectorDoubleRemove().

Here is the caller graph for this function:

template<class T, bool IsTrivialType = TypeTraits<T>::IS_TRIVIAL_TYPE == true>
void Dali::Vector< T, IsTrivialType >::Reserve ( SizeType  count)
inline

Reserve space in the vector.

Reserving less than current Capacity is a no-op. .0

Parameters
[in]countCount of elements to reserve.

Definition at line 612 of file dali-vector.h.

Referenced by anonymous_namespace{scene-graph-renderer.cpp}::AddMappings(), Dali::Internal::PropertyConstraint< PropertyType >::Apply(), Dali::Internal::Adaptor::EglImplementation::ChooseConfig(), Dali::Internal::Program::CompileShader(), Dali::Toolkit::Text::VisualModel::CreateCharacterToGlyphTable(), Dali::Internal::anonymous_namespace{image-actor-impl.cpp}::CreateGeometry(), Dali::Toolkit::Internal::BubbleEmitter::CreateGeometry(), Dali::Toolkit::Internal::anonymous_namespace{image-renderer.cpp}::CreateGeometry(), Dali::Toolkit::Internal::NPatchRenderer::CreateGeometry(), Dali::Toolkit::Internal::NPatchRenderer::CreateGeometryBorder(), Dali::Toolkit::Text::VisualModel::CreateGlyphsPerCharacterTable(), Dali::Toolkit::Internal::AtlasMeshFactory::CreateQuad(), Dali::Toolkit::Text::Controller::DoRelayout(), Dali::TizenPlatform::EncodeToJpeg(), Dali::Internal::Adaptor::FrameTimeStats::FrameTimeStats(), Dali::Internal::ObjectImplHelper< DEFAULT_PROPERTY_COUNT >::GetDefaultPropertyIndices(), Dali::Internal::Path::GetDefaultPropertyIndices(), Dali::Internal::PathConstrainer::GetDefaultPropertyIndices(), Dali::Internal::LinearConstrainer::GetDefaultPropertyIndices(), Dali::Internal::CameraActor::GetDefaultPropertyIndices(), Dali::Internal::ShaderEffect::GetDefaultPropertyIndices(), Dali::Internal::Layer::GetDefaultPropertyIndices(), Dali::Internal::PanGestureDetector::GetDefaultPropertyIndices(), Dali::Internal::ImageActor::GetDefaultPropertyIndices(), Dali::Internal::RenderTask::GetDefaultPropertyIndices(), Dali::Internal::Actor::GetDefaultPropertyIndices(), Dali::Internal::SceneGraph::RenderInstruction::GetNextFreeRenderList(), Dali::Internal::TypeInfo::GetPropertyIndices(), Dali::Internal::Object::GetPropertyIndices(), Dali::Internal::NotificationManager::Impl::Impl(), Dali::Internal::Adaptor::EglImplementation::InitializeGles(), Dali::TizenPlatform::JpegRotate270(), Dali::TizenPlatform::JpegRotate90(), Dali::Internal::Program::Link(), Dali::Internal::Program::Load(), Dali::TizenPlatform::LoadBitmapFromJpeg(), Dali::Internal::anonymous_namespace{notification-manager.cpp}::MoveElements(), Dali::OwnerContainer< Material * >::MoveFrom(), Dali::Internal::ProgramController::ProgramController(), Dali::Vector< Material * >::PushBack(), Dali::Internal::SceneGraph::RenderInstruction::RenderInstruction(), Dali::Internal::MemoryPoolRelayoutContainer::Reserve(), Dali::Internal::SceneGraph::RenderList::Reserve(), Dali::Internal::SceneGraph::RenderInstructionContainer::ResetAndReserve(), Dali::Vector< Material * >::Resize(), Dali::Toolkit::Text::Internal::MultilanguageSupport::SetScripts(), anonymous_namespace{utc-Dali-ImageOperations.cpp}::SetupScanlineForHalvingTests1Byte(), anonymous_namespace{utc-Dali-ImageOperations.cpp}::SetupScanlineForHalvingTests2Bytes(), anonymous_namespace{utc-Dali-ImageOperations.cpp}::SetupScanlineForHalvingTestsRGB565(), anonymous_namespace{utc-Dali-ImageOperations.cpp}::SetupScanlineForHalvingTestsRGBA8888(), anonymous_namespace{utc-Dali-ImageOperations.cpp}::SetupScanlinesRGBA8888(), Dali::Toolkit::Text::ShapeText(), Dali::Internal::Adaptor::StatContextManager::StatContextManager(), Dali::Internal::BitmapTexture::Update(), Dali::Toolkit::Text::UpdateCharacterRuns(), Dali::Toolkit::Text::Controller::Impl::UpdateModel(), UtcDaliFixedSizeMemoryPoolStressTest(), UtcDaliVectorAsserts(), UtcDaliVectorIntCopy(), UtcDaliVectorPushBack(), Dali::Toolkit::Text::Internal::MultilanguageSupport::ValidateFonts(), and Dali::TizenPlatform::anonymous_namespace{loader-png.cpp}::WriteData().

template<class T, bool IsTrivialType = TypeTraits<T>::IS_TRIVIAL_TYPE == true>
void Dali::Vector< T, IsTrivialType >::Resize ( SizeType  count)
inline

Resize the vector.

Does not change capacity.

.0

Parameters
[in]countCount to resize to.

Definition at line 623 of file dali-vector.h.

Referenced by Dali::Toolkit::Text::AtlasRenderer::Impl::AddGlyphs(), Dali::Internal::ShaderData::AllocateBuffer(), Dali::Toolkit::Internal::ObjLoader::CalculateTangentArray(), Dali::Internal::BitmapTexture::CreateGlTexture(), Dali::Toolkit::Text::Controller::DoRelayout(), Dali::TizenPlatform::anonymous_namespace{file-download.cpp}::DownloadFile(), Dali::Toolkit::Text::View::GetGlyphs(), Dali::Internal::Program::GetSamplerUniformLocation(), Dali::Toolkit::Internal::CubeTransitionEffect::Initialize(), Dali::Toolkit::Text::Controller::InsertText(), anonymous_namespace{utc-Dali-Text-Segmentation.cpp}::LineBreakInfoTest(), Dali::TizenPlatform::LoadBitmapFromIco(), Dali::TizenPlatform::LoadBitmapFromWbmp(), Dali::TizenPlatform::ResourceLoader::LoadFile(), Dali::TizenPlatform::anonymous_namespace{loader-ico.cpp}::LoadIcoHeaderHelper(), Dali::TizenPlatform::LoadWbmpHeader(), Dali::Toolkit::Text::Internal::MultilanguageSupport::MultilanguageSupport(), Dali::Internal::SceneGraph::Renderer::PrepareRender(), Dali::Internal::SceneGraph::Node::PrepareRender(), Dali::Toolkit::Text::AtlasRenderer::Render(), Dali::OwnerContainer< Material * >::Resize(), Dali::Vector< Material * >::Resize(), Dali::Toolkit::Internal::TableView::ResizeContainers(), anonymous_namespace{utc-Dali-Text-MultiLanguage.cpp}::ScriptsTest(), Dali::Toolkit::Text::SetColorSegmentationInfo(), Dali::Internal::LinearConstrainer::SetDefaultProperty(), Dali::Toolkit::Text::SetLineBreakInfo(), Dali::Toolkit::Internal::ScrollBar::SetProperty(), Dali::Toolkit::Text::Controller::SetText(), Dali::Internal::Render::Renderer::SetUniforms(), anonymous_namespace{utc-Dali-ImageOperations.cpp}::SetupScanlineForHalvingTests1Byte(), anonymous_namespace{utc-Dali-ImageOperations.cpp}::SetupScanlineForHalvingTests2Bytes(), anonymous_namespace{utc-Dali-ImageOperations.cpp}::SetupScanlineForHalvingTestsRGB565(), anonymous_namespace{utc-Dali-ImageOperations.cpp}::SetupScanlineForHalvingTestsRGBA8888(), Dali::Toolkit::Text::LogicalModel::SetVisualToLogicalMap(), Dali::Toolkit::Text::SetWordBreakInfo(), Dali::Toolkit::Text::ShapeText(), Dali::Toolkit::Text::Controller::ShowPlaceholderText(), Dali::Internal::PropertyBuffer::SizeChanged(), Dali::Internal::Render::PropertyBuffer::Update(), Dali::Toolkit::Text::Controller::Impl::UpdateModel(), UtcDaliVectorIntResize(), anonymous_namespace{utc-Dali-Text-CharacterSetConversion.cpp}::Utf8ToUtf32Test(), Dali::Toolkit::Text::Internal::MultilanguageSupport::ValidateFonts(), anonymous_namespace{utc-Dali-Text-MultiLanguage.cpp}::ValidateFontTest(), and anonymous_namespace{utc-Dali-Text-Segmentation.cpp}::WordBreakInfoTest().

Here is the caller graph for this function:

template<class T, bool IsTrivialType = TypeTraits<T>::IS_TRIVIAL_TYPE == true>
void Dali::Vector< T, IsTrivialType >::Resize ( SizeType  count,
const ItemType item 
)
inline

Resize the vector.

Does not change capacity.

.0

Parameters
[in]countCount to resize to.
[in]itemAn item to insert to the new indices.

Definition at line 636 of file dali-vector.h.

template<class T, bool IsTrivialType = TypeTraits<T>::IS_TRIVIAL_TYPE == true>
void Dali::Vector< T, IsTrivialType >::Swap ( Vector< T, IsTrivialType > &  vector)
inline

Swap the contents of two vectors.

.0

Parameters
[in]vectorVector to swap with.

Definition at line 751 of file dali-vector.h.

Referenced by Dali::Internal::anonymous_namespace{notification-manager.cpp}::MoveElements(), and UtcDaliVectorIntSwap().

Here is the caller graph for this function:


The documentation for this class was generated from the following file:
Dali Docs Home
Read more about Dali