Urho3D
Public Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
Urho3D::VectorBase Class Reference

Vector base class. More...

#include </home/runner/work/urho3d-doxygen.github.io/urho3d-doxygen.github.io/urho3d_repo/Source/Urho3D/Container/VectorBase.h>

Inheritance diagram for Urho3D::VectorBase:
Urho3D::Vector< Urho3D::RigidBody2D * > Urho3D::Vector< Urho3D::SharedPtr< Urho3D::VertexBuffer > > Urho3D::Vector< Urho3D::ModelMorph > Urho3D::Vector< Urho3D::SharedPtr< Urho3D::AnimationState > > Urho3D::Vector< Urho3D::Matrix3x4 > Urho3D::Vector< Urho3D::Vector< i32 > > Urho3D::Vector< Urho3D::Vector< Urho3D::Matrix3x4 > > Urho3D::Vector< Urho3D::Vector< Urho3D::Matrix3x4 * > > Urho3D::Vector< Urho3D::AnimationTriggerPoint > Urho3D::Vector< Urho3D::AnimationControl > Urho3D::Vector< Urho3D::AnimationStateTrack > Urho3D::Vector< Urho3D::AnimationKeyFrame > Urho3D::Vector< Urho3D::IntRect > Urho3D::Vector< Urho3D::String > Urho3D::Vector< Urho3D::SoundSource * > Urho3D::Vector< Urho3D::InstanceData > Urho3D::Vector< Urho3D::Batch > Urho3D::Vector< Urho3D::Batch * > Urho3D::Vector< Urho3D::BatchGroup * > Urho3D::Vector< Digit > Urho3D::Vector< Urho3D::Billboard > Urho3D::Vector< Urho3D::Billboard * > Urho3D::Vector< Urho3D::Vector2 > Urho3D::Vector< Urho3D::RemoteEvent > Urho3D::Vector< Urho3D::Pair< int, Urho3D::String > > Urho3D::Vector< Urho3D::Object * > Urho3D::Vector< Urho3D::HashMap * > Urho3D::Vector< unsigned > Urho3D::Vector< PrimitiveType > Urho3D::Vector< Urho3D::Vector< Urho3D::CustomGeometryVertex > > Urho3D::Vector< Urho3D::SharedPtr< Urho3D::Geometry > > Urho3D::Vector< Urho3D::SharedPtr< Urho3D::DbConnection > > Urho3D::Vector< String > Urho3D::Vector< Urho3D::Vector > Urho3D::Vector< Urho3D::DebugLine > Urho3D::Vector< Urho3D::DebugTriangle > Urho3D::Vector< Urho3D::DecalVertex > Urho3D::Vector< unsigned short > Urho3D::Vector< Urho3D::Bone > Urho3D::Vector< Urho3D::SourceBatch > Urho3D::Vector< Urho3D::Camera * > Urho3D::Vector< Urho3D::Light * > Urho3D::Vector< Urho3D::SourceBatch2D > Urho3D::Vector< Urho3D::IntVector2 > Urho3D::Vector< float > Urho3D::Vector< Urho3D::FileSelectorEntry > Urho3D::Vector< Urho3D::SharedPtr< Urho3D::Texture2D > > Urho3D::Vector< Urho3D::VertexElement > Urho3D::Vector< Urho3D::GPUObject * > Urho3D::Vector< Urho3D::ScratchBuffer > Urho3D::Vector< Urho3D::ConstantBuffer * > Urho3D::Vector< Urho3D::IKEffector * > Urho3D::Vector< Urho3D::IKConstraint * > Urho3D::Vector< bool > Urho3D::Vector< int > Urho3D::Vector< Urho3D::ShadowBatchQueue > Urho3D::Vector< Urho3D::Drawable * > Urho3D::Vector< i32 > Urho3D::Vector< Urho3D::TechniqueEntry > Urho3D::Vector< Urho3D::Vector3 > Urho3D::Vector< unsigned char > Urho3D::Vector< Urho3D::SharedPtr< Urho3D::IndexBuffer > > Urho3D::Vector< Urho3D::Vector< Urho3D::SharedPtr< Urho3D::Geometry > > > Urho3D::Vector< Urho3D::VertexBufferDesc > Urho3D::Vector< Urho3D::IndexBufferDesc > Urho3D::Vector< Urho3D::Vector< Urho3D::GeometryDesc > > Urho3D::Vector< Urho3D::NavAreaStub > Urho3D::Vector< Urho3D::WeakPtr< Urho3D::NavArea > > Urho3D::Vector< Urho3D::AttributeInfo > Urho3D::Vector< Urho3D::Variant > Urho3D::Vector< Urho3D::ReplicationState * > Urho3D::Vector< Urho3D::SharedPtr< Urho3D::Component > > Urho3D::Vector< Urho3D::SharedPtr< Urho3D::Node > > Urho3D::Vector< Urho3D::WeakPtr< Urho3D::Component > > Urho3D::Vector< Urho3D::Node * > Urho3D::Vector< Urho3D::OcclusionBufferData > Urho3D::Vector< Urho3D::SharedArrayPtr< Urho3D::DepthValue > > Urho3D::Vector< Urho3D::OcclusionBatch > Urho3D::Vector< Urho3D::ColorFrame > Urho3D::Vector< Urho3D::TextureFrame > Urho3D::Vector< Urho3D::Particle > Urho3D::Vector< Urho3D::Particle2D > Urho3D::Vector< Urho3D::SharedPtr< Urho3D::ShaderVariation > > Urho3D::Vector< Urho3D::RigidBody * > Urho3D::Vector< Urho3D::CollisionShape * > Urho3D::Vector< Urho3D::Constraint * > Urho3D::Vector< Urho3D::WeakPtr< Urho3D::RigidBody2D > > Urho3D::Vector< Urho3D::PhysicsWorld2D::ContactInfo > Urho3D::Vector< Urho3D::Vector< Urho3D::Vector3 > > Urho3D::Vector< Urho3D::ProfilerBlock * > Urho3D::Vector< Urho3D::PhysicsRaycastResult2D > Urho3D::Vector< Urho3D::RayQueryResult > Urho3D::Vector< Urho3D::Quaternion > Urho3D::Vector< Variant > Urho3D::Vector< Urho3D::RenderTargetInfo > Urho3D::Vector< Urho3D::RenderPathCommand > Urho3D::Vector< Urho3D::Pair< Urho3D::String, CubeMapFace > > Urho3D::Vector< Urho3D::SharedPtr< Urho3D::Viewport > > Urho3D::Vector< Urho3D::SharedPtr< Urho3D::OcclusionBuffer > > Urho3D::Vector< Urho3D::Pair< Urho3D::WeakPtr< Urho3D::RenderSurface >, Urho3D::WeakPtr< Urho3D::Viewport > > > Urho3D::Vector< Urho3D::WeakPtr< Urho3D::View > > Urho3D::Vector< Urho3D::Drawable2D * > Urho3D::Vector< Urho3D::SharedPtr< Urho3D::FileWatcher > > Urho3D::Vector< Urho3D::SharedPtr< Urho3D::PackageFile > > Urho3D::Vector< Urho3D::SharedPtr< Urho3D::ResourceRouter > > Urho3D::Vector< Urho3D::TrailPoint > Urho3D::Vector< Urho3D::TrailPoint * > Urho3D::Vector< Urho3D::WeakPtr< Urho3D::CollisionShape2D > > Urho3D::Vector< Urho3D::WeakPtr< Urho3D::Constraint2D > > Urho3D::Vector< Urho3D::Component * > Urho3D::Vector< Urho3D::Vertex2D > Urho3D::Vector< Urho3D::WeakPtr< Urho3D::Node > > Urho3D::Vector< Urho3D::Spriter::MainlineKey * > Urho3D::Vector< Urho3D::Spriter::Timeline * > Urho3D::Vector< Urho3D::Spriter::MapInstruction * > Urho3D::Vector< Urho3D::Spriter::CharacterMap * > Urho3D::Vector< Urho3D::Spriter::Animation * > Urho3D::Vector< Urho3D::Spriter::File * > Urho3D::Vector< Urho3D::Spriter::Ref * > Urho3D::Vector< Urho3D::Spriter::Folder * > Urho3D::Vector< Urho3D::Spriter::Entity * > Urho3D::Vector< Urho3D::Spriter::SpatialTimelineKey * > Urho3D::Vector< Urho3D::StaticModelGeometryData > Urho3D::Vector< Urho3D::SharedPtr< Urho3D::Pass > > Urho3D::Vector< Urho3D::WeakPtr< Urho3D::TerrainPatch > > Urho3D::Vector< Urho3D::Pair< unsigned, unsigned > > Urho3D::Vector< c32 > Urho3D::Vector< Urho3D::Vector< Urho3D::GlyphLocation > > Urho3D::Vector< Urho3D::CharLocation > Urho3D::Vector< Urho3D::UIBatch > Urho3D::Vector< Urho3D::SharedPtr< Urho3D::Image > > Urho3D::Vector< Urho3D::WeakPtr< Urho3D::TileMapLayer2D > > Urho3D::Vector< Urho3D::TmxLayer2D * > Urho3D::Vector< Urho3D::SharedPtr< Urho3D::TileMapObject2D > > Urho3D::Vector< Urho3D::SharedPtr< Urho3D::Tile2D > > Urho3D::Vector< Urho3D::WeakPtr< Urho3D::UIElement > > Urho3D::Vector< Urho3D::SharedArrayPtr< byte > > Urho3D::Vector< Urho3D::UIElement * > Urho3D::Vector< Urho3D::SharedPtr< Urho3D::UIElement > > Urho3D::Vector< Urho3D::VAnimKeyFrame > Urho3D::Vector< Urho3D::VAnimEventFrame > Urho3D::Vector< byte > Urho3D::Vector< Urho3D::Vector< Urho3D::Drawable * > > Urho3D::Vector< Urho3D::PerThreadSceneResult > Urho3D::Vector< Urho3D::Zone * > Urho3D::Vector< Urho3D::LightQueryResult > Urho3D::Vector< Urho3D::ScenePassInfo > Urho3D::Vector< Urho3D::LightBatchQueue > Urho3D::Vector< const Urho3D::SourceBatch2D * > Urho3D::Vector< Urho3D::SharedPtr< Urho3D::Material > > Urho3D::Vector< Urho3D::SharedPtr< WorkerThread > > Urho3D::Vector< T >

Public Member Functions

 VectorBase () noexcept
 Construct.
 
void Swap (VectorBase &rhs)
 Swap with another vector.
 

Static Protected Member Functions

static u8 * AllocateBuffer (i32 size)
 

Protected Attributes

i32 size_
 Size of vector.
 
i32 capacity_
 Buffer capacity.
 
u8 * buffer_
 Buffer.
 

Detailed Description

Vector base class.

Note that to prevent extra memory use due to vtable pointer, VectorBase intentionally does not declare a virtual destructor and therefore VectorBase pointers should never be used.


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