Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

osg::MFInt16 Class Reference
[Multi-Element Fields]

Inheritance diagram for osg::MFInt16:

osg::MField< FieldTypeT, fieldNameSpace > osg::Field List of all members.

Public Types

typedef MFieldVector< FieldTypeT > StorageType
typedef StorageType::Inherited StorageTypeParent
typedef StorageType::iterator iterator
typedef StorageType::const_iterator const_iterator
typedef StorageType::reverse_iterator reverse_iterator
typedef StorageType::const_reverse_iterator const_reverse_iterator
typedef StorageType::reference reference
typedef StorageType::const_reference const_reference
typedef osgIF< fieldNameSpace==0,
FieldDataTraits< FieldTypeT >,
InvalidTrait >::_IRet 
MF0Trait
typedef osgIF< fieldNameSpace==1,
FieldDataTraits1< FieldTypeT >,
MF0Trait >::_IRet 
MF1Trait
typedef osgIF< fieldNameSpace==2,
FieldDataTraits2< FieldTypeT >,
MF1Trait >::_IRet 
MFieldTraits
typedef MField< FieldTypeT,
fieldNameSpace > 
Self
typedef FieldTypeT StoredType
typedef MFieldTraits::ArgumentType ArgumentType

Public Member Functions

template<>
UInt32 getBinSize (void) const
template<>
void copyToBin (BinaryDataHandler &pMem) const
template<>
void copyFromBin (BinaryDataHandler &pMem)
Get
*reference getValue (const UInt32 index)
const_reference getValue (const UInt32 index) const
virtual UInt32 getSize (void) const
StorageTypegetValues (void)
const StorageTypegetValues (void) const
virtual const FieldTypegetType (void) const
virtual bool isEmpty (void) const
Set
*void setValues (const StorageType &value)
void setValues (const StorageTypeParent &value)
void setValues (const Self &obj)
virtual void setAbstrValue (const Field &obj)
 Copies the values from a given field iff the two fieldtypes are equal.
void setValue (ArgumentType value, const UInt32 index)
void addValue (ArgumentType value)
STL Interface
*iterator begin (void)
const_iterator begin (void) const
iterator end (void)
const_iterator end (void) const
reverse_iterator rbegin (void)
const_reverse_iterator rbegin (void) const
reverse_iterator rend (void)
const_reverse_iterator rend (void) const
reference front (void)
const_reference front (void) const
reference back (void)
const_reference back (void) const
void clear (void)
iterator insert (iterator pos, ArgumentType value)
iterator erase (iterator pos)
iterator find (ArgumentType value)
const_iterator find (ArgumentType value) const
void push_back (ArgumentType value)
void resize (size_t newsize, FieldTypeT t=FieldTypeT())
void reserve (size_t newsize)
UInt32 size (void) const
UInt32 capacity (void) const
bool empty (void) const
Index Operator
*reference operator[] (UInt32 index)
const_reference operator[] (UInt32 index) const
String IO
*virtual void pushValueByStr (const Char8 *str)
virtual std::string & getValueByStr (std::string &str) const
virtual std::string & getValueByStr (std::string &str, StringConversionStateBase &state) const
virtual std::string & getValueByStr (std::string &str, UInt32 index) const
MT Sync
*void syncWith (Self &source)
Binary Interface
*UInt32 getBinSize (void) const
void copyToBin (BinaryDataHandler &pMem) const
void copyFromBin (BinaryDataHandler &pMem)
Dump
*virtual void dump (void) const
Get
const DataTypegetContentType (void) const
FieldType::Cardinality getCardinality (void) const

Static Public Member Functions

Class Get
*static const FieldTypegetClassType (void)

Protected Types

typedef Field Inherited

Static Protected Member Functions

static Fieldcreate (void)

Protected Attributes

StorageType _values
UInt32 _uiSharedWith

Static Protected Attributes

static const FieldType _fieldType

Detailed Description

This is a documentation wrapper. Its only purpose is to fool doxygen into thinking of a typedef as a class and to allow you to find all the needed info from this page.

Warning:
The real inheritance is not what you see here.

This is just to give you an idea of the conceptual relations and to help you understand the available methods of this class.

Definition at line 1383 of file dummyClasses.dox.


Member Typedef Documentation

template<class FieldTypeT, Int32 fieldNameSpace = 0>
typedef MFieldVector<FieldTypeT> osg::MField< FieldTypeT, fieldNameSpace >::StorageType [inherited]
 

Definition at line 78 of file OSGMField.h.

template<class FieldTypeT, Int32 fieldNameSpace = 0>
typedef StorageType::Inherited osg::MField< FieldTypeT, fieldNameSpace >::StorageTypeParent [inherited]
 

Definition at line 79 of file OSGMField.h.

template<class FieldTypeT, Int32 fieldNameSpace = 0>
typedef StorageType::iterator osg::MField< FieldTypeT, fieldNameSpace >::iterator [inherited]
 

Definition at line 81 of file OSGMField.h.

template<class FieldTypeT, Int32 fieldNameSpace = 0>
typedef StorageType::const_iterator osg::MField< FieldTypeT, fieldNameSpace >::const_iterator [inherited]
 

Definition at line 82 of file OSGMField.h.

template<class FieldTypeT, Int32 fieldNameSpace = 0>
typedef StorageType::reverse_iterator osg::MField< FieldTypeT, fieldNameSpace >::reverse_iterator [inherited]
 

Definition at line 85 of file OSGMField.h.

template<class FieldTypeT, Int32 fieldNameSpace = 0>
typedef StorageType::const_reverse_iterator osg::MField< FieldTypeT, fieldNameSpace >::const_reverse_iterator [inherited]
 

Definition at line 87 of file OSGMField.h.

template<class FieldTypeT, Int32 fieldNameSpace = 0>
typedef StorageType::reference osg::MField< FieldTypeT, fieldNameSpace >::reference [inherited]
 

Definition at line 90 of file OSGMField.h.

template<class FieldTypeT, Int32 fieldNameSpace = 0>
typedef StorageType::const_reference osg::MField< FieldTypeT, fieldNameSpace >::const_reference [inherited]
 

Definition at line 91 of file OSGMField.h.

template<class FieldTypeT, Int32 fieldNameSpace = 0>
typedef osgIF<fieldNameSpace == 0, FieldDataTraits <FieldTypeT>, InvalidTrait >::_IRet osg::MField< FieldTypeT, fieldNameSpace >::MF0Trait [inherited]
 

Definition at line 96 of file OSGMField.h.

template<class FieldTypeT, Int32 fieldNameSpace = 0>
typedef osgIF<fieldNameSpace == 1, FieldDataTraits1<FieldTypeT>, MF0Trait >::_IRet osg::MField< FieldTypeT, fieldNameSpace >::MF1Trait [inherited]
 

Definition at line 100 of file OSGMField.h.

template<class FieldTypeT, Int32 fieldNameSpace = 0>
typedef osgIF<fieldNameSpace == 2, FieldDataTraits2<FieldTypeT>, MF1Trait >::_IRet osg::MField< FieldTypeT, fieldNameSpace >::MFieldTraits [inherited]
 

Definition at line 104 of file OSGMField.h.

template<class FieldTypeT, Int32 fieldNameSpace = 0>
typedef MField<FieldTypeT, fieldNameSpace> osg::MField< FieldTypeT, fieldNameSpace >::Self [inherited]
 

Definition at line 106 of file OSGMField.h.

template<class FieldTypeT, Int32 fieldNameSpace = 0>
typedef FieldTypeT osg::MField< FieldTypeT, fieldNameSpace >::StoredType [inherited]
 

Definition at line 108 of file OSGMField.h.

template<class FieldTypeT, Int32 fieldNameSpace = 0>
typedef MFieldTraits::ArgumentType osg::MField< FieldTypeT, fieldNameSpace >::ArgumentType [inherited]
 

Definition at line 110 of file OSGMField.h.

template<class FieldTypeT, Int32 fieldNameSpace = 0>
typedef Field osg::MField< FieldTypeT, fieldNameSpace >::Inherited [protected, inherited]
 

Definition at line 292 of file OSGMField.h.


Member Function Documentation

template<class FieldTypeT, Int32 fieldNameSpace>
const FieldType & osg::MField< FieldTypeT, fieldNameSpace >::getClassType void   )  [inline, static, inherited]
 

Definition at line 56 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::_fieldType.

Referenced by osg::VRMLFile::initExtIntFieldTypeMapper(), osg::OSGLoader::initFieldTypeMapper(), and osg::VRMLFile::initIntExtFieldTypeMapper().

00057 {
00058     return _fieldType;
00059 }

template<class FieldTypeT, Int32 fieldNameSpace>
MField< FieldTypeT, fieldNameSpace >::reference osg::MField< FieldTypeT, fieldNameSpace >::getValue const UInt32  index  )  [inline, inherited]
 

Definition at line 483 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::operator[]().

00484 {
00485     return operator[](index);
00486 }

template<class FieldTypeT, Int32 fieldNameSpace>
MField< FieldTypeT, fieldNameSpace >::const_reference osg::MField< FieldTypeT, fieldNameSpace >::getValue const UInt32  index  )  const [inline, inherited]
 

Definition at line 490 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::operator[]().

00491 {
00492     return operator[](index);
00493 }

template<class FieldTypeT, Int32 fieldNameSpace>
UInt32 osg::MField< FieldTypeT, fieldNameSpace >::getSize void   )  const [inline, virtual, inherited]
 

Implements osg::Field.

Definition at line 510 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::size().

Referenced by osg::SHLChunk::checkOSGParameters(), osg::TextureBackground::clear(), osg::Image::createData(), osg::PolygonForeground::draw(), and osg::MaterialPool::get().

00511 {
00512     return size();
00513 }

template<class FieldTypeT, Int32 fieldNameSpace>
MField< FieldTypeT, fieldNameSpace >::StorageType & osg::MField< FieldTypeT, fieldNameSpace >::getValues void   )  [inline, inherited]
 

Return a reference to the value store

Definition at line 106 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::_values.

Referenced by osg::PolygonChunk::changeFrom(), osg::Particles::drawPrimitives(), osg::VRMLExtrusionDesc::endNode(), osg::Window::refreshGLObject(), and osg::Window::reinitializeGLObject().

00107 {
00108     return _values;
00109 }

template<class FieldTypeT, Int32 fieldNameSpace>
const MField< FieldTypeT, fieldNameSpace >::StorageType & osg::MField< FieldTypeT, fieldNameSpace >::getValues void   )  const [inline, inherited]
 

Return a const reference to the value store

Definition at line 116 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::_values.

00117 {
00118     return _values;
00119 }

template<class FieldTypeT, Int32 fieldNameSpace>
const FieldType & osg::MField< FieldTypeT, fieldNameSpace >::getType void   )  const [inline, virtual, inherited]
 

Implements osg::Field.

Definition at line 123 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::_fieldType.

Referenced by osg::Surface::FindClosestPoint(), and osg::MField< FieldTypeT, fieldNameSpace >::setAbstrValue().

00124 {
00125     return _fieldType;
00126 }

template<class FieldTypeT, Int32 fieldNameSpace>
bool osg::MField< FieldTypeT, fieldNameSpace >::isEmpty void   )  const [inline, virtual, inherited]
 

Implements osg::Field.

Definition at line 130 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::empty().

00131 {
00132     return empty();
00133 }

template<class FieldTypeT, Int32 fieldNameSpace>
void osg::MField< FieldTypeT, fieldNameSpace >::setValues const StorageType value  )  [inline, inherited]
 

Definition at line 161 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::_values.

Referenced by osg::Geometry::merge(), osg::Window::operator=(), osg::MField< FieldTypeT, fieldNameSpace >::setAbstrValue(), and osg::MField< FieldTypeT, fieldNameSpace >::syncWith().

00162 {
00163     _values = value;
00164 }

template<class FieldTypeT, Int32 fieldNameSpace>
void osg::MField< FieldTypeT, fieldNameSpace >::setValues const StorageTypeParent value  )  [inline, inherited]
 

Definition at line 167 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::_values.

00169 {
00170     // Hack probably move it to MFieldVector (GV)
00171 
00172     *(static_cast<StorageTypeParent *>(&_values)) = value;
00173 }

template<class FieldTypeT, Int32 fieldNameSpace>
void osg::MField< FieldTypeT, fieldNameSpace >::setValues const Self obj  )  [inline, inherited]
 

Definition at line 176 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::_values.

00177 {
00178     _values = obj._values;
00179 }

template<class FieldTypeT, Int32 fieldNameSpace>
void osg::MField< FieldTypeT, fieldNameSpace >::setAbstrValue const Field obj  )  [inline, virtual, inherited]
 

Implements osg::Field.

Definition at line 152 of file OSGMField.inl.

References osg::Field::getType(), osg::MField< FieldTypeT, fieldNameSpace >::getType(), and osg::MField< FieldTypeT, fieldNameSpace >::setValues().

00153 {
00154     if(getType() == obj.getType())
00155     {
00156         setValues(*((const MField<FieldTypeT, fieldNameSpace> *) &obj));
00157     }
00158 }

template<class FieldTypeT, Int32 fieldNameSpace>
void osg::MField< FieldTypeT, fieldNameSpace >::setValue ArgumentType  value,
const UInt32  index
[inline, inherited]
 

Definition at line 496 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::operator[]().

00498 {
00499     operator[](index) = value;
00500 }

template<class FieldTypeT, Int32 fieldNameSpace>
void osg::MField< FieldTypeT, fieldNameSpace >::addValue ArgumentType  value  )  [inline, inherited]
 

Definition at line 503 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::push_back().

00504 {
00505     push_back(value);
00506 }

template<class FieldTypeT, Int32 fieldNameSpace>
MField< FieldTypeT, fieldNameSpace >::iterator osg::MField< FieldTypeT, fieldNameSpace >::begin void   )  [inline, inherited]
 

Definition at line 187 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::begin().

Referenced by osg::State::activate(), osg::MField< FieldTypeT, fieldNameSpace >::begin(), osg::calcVertexTangents(), osg::calcVertexTexCoords(), osg::Node::changed(), osg::MultiPassMaterial::changed(), osg::MaterialPool::changed(), osg::Image::changed(), osg::ChunkMaterial::changed(), osg::State::changeFrom(), osg::MaterialPool::clear(), osg::State::clearChunks(), osg::Geometry::CompareMaterials(), osg::PhongMaterial::createFragmentProgram(), osg::State::deactivate(), osg::Window::drawAllViewports(), osg::State::dump(), osg::SimpleMaterial::dump(), osg::DVRLookupTable::dump(), osg::VRMLGeometryPointSetDesc::endNode(), osg::VRMLGeometryDesc::endNode(), osg::ProgramChunk::findParameter(), osg::Attachment::findParent(), osg::MaterialPool::get(), osg::QNodeTreeView::getBranchRecursion(), osg::ClusterWindow::init(), osg::Node::insertChild(), osg::Window::insertPort(), osg::MultiPassMaterial::isTransparent(), osg::ChunkMaterial::isTransparent(), osg::SimpleMaterial::makeState(), osg::PhongMaterial::makeState(), osg::FresnelMaterial::makeState(), osg::MaterialPool::onDestroy(), osg::SimpleMaterial::rebuildState(), osg::PhongMaterial::rebuildState(), osg::FresnelMaterial::rebuildState(), osg::DVRClipObjects::remove(), osg::Window::renderAllViewports(), osg::MaterialPool::sub(), osg::Node::subChild(), osg::ChunkMaterial::subChunk(), osg::MultiPassMaterial::subMaterial(), osg::ShaderParameterAccess::subParameter(), osg::Window::subPort(), osg::MaterialPool::sync(), osg::Node::updateVolume(), osg::ChunkMaterial::~ChunkMaterial(), osg::MultiPassMaterial::~MultiPassMaterial(), and osg::Node::~Node().

00188 {
00189     return _values.begin();
00190 }

template<class FieldTypeT, Int32 fieldNameSpace>
MField< FieldTypeT, fieldNameSpace >::const_iterator osg::MField< FieldTypeT, fieldNameSpace >::begin void   )  const [inline, inherited]
 

Definition at line 221 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::begin().

00223 {
00224     return _values.begin();
00225 }

template<class FieldTypeT, Int32 fieldNameSpace>
MField< FieldTypeT, fieldNameSpace >::iterator osg::MField< FieldTypeT, fieldNameSpace >::end void   )  [inline, inherited]
 

Definition at line 195 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::end().

Referenced by osg::State::activate(), osg::Node::changed(), osg::MultiPassMaterial::changed(), osg::MaterialPool::changed(), osg::Image::changed(), osg::ChunkMaterial::changed(), osg::State::changeFrom(), osg::MaterialPool::clear(), osg::State::clearChunks(), osg::Geometry::CompareMaterials(), osg::PhongMaterial::createFragmentProgram(), osg::State::deactivate(), osg::Window::drawAllViewports(), osg::State::dump(), osg::SimpleMaterial::dump(), osg::DVRLookupTable::dump(), osg::MField< FieldTypeT, fieldNameSpace >::end(), osg::VRMLGeometryPointSetDesc::endNode(), osg::VRMLGeometryDesc::endNode(), osg::ProgramChunk::findParameter(), osg::Attachment::findParent(), osg::MaterialPool::get(), osg::QNodeTreeView::getBranchRecursion(), osg::ClusterWindow::init(), osg::MultiPassMaterial::isTransparent(), osg::ChunkMaterial::isTransparent(), osg::SimpleMaterial::makeState(), osg::PhongMaterial::makeState(), osg::FresnelMaterial::makeState(), osg::MaterialPool::onDestroy(), osg::SimpleMaterial::rebuildState(), osg::PhongMaterial::rebuildState(), osg::FresnelMaterial::rebuildState(), osg::Window::refreshGLObject(), osg::Window::reinitializeGLObject(), osg::DVRClipObjects::remove(), osg::Window::renderAllViewports(), osg::Node::replaceChildBy(), osg::Window::replacePortBy(), osg::MaterialPool::sub(), osg::Node::subChild(), osg::NodeCore::subParent(), osg::Attachment::subParent(), osg::Window::subPort(), osg::MaterialPool::sync(), osg::Node::updateVolume(), osg::ChunkMaterial::~ChunkMaterial(), osg::MultiPassMaterial::~MultiPassMaterial(), and osg::Node::~Node().

00196 {
00197     return _values.end();
00198 }

template<class FieldTypeT, Int32 fieldNameSpace>
MField< FieldTypeT, fieldNameSpace >::const_iterator osg::MField< FieldTypeT, fieldNameSpace >::end void   )  const [inline, inherited]
 

Definition at line 230 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::end().

00232 {
00233     return _values.end();
00234 }

template<class FieldTypeT, Int32 fieldNameSpace>
MField< FieldTypeT, fieldNameSpace >::reverse_iterator osg::MField< FieldTypeT, fieldNameSpace >::rbegin void   )  [inline, inherited]
 

Definition at line 204 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::rbegin().

Referenced by osg::QFCItem::addParents(), osg::QFCItem::addRefedContainer(), and osg::MField< FieldTypeT, fieldNameSpace >::rbegin().

00205 {
00206     return _values.rbegin();
00207 }

template<class FieldTypeT, Int32 fieldNameSpace>
MField< FieldTypeT, fieldNameSpace >::const_reverse_iterator osg::MField< FieldTypeT, fieldNameSpace >::rbegin void   )  const [inline, inherited]
 

Definition at line 240 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::rbegin().

00241 {
00242     return _values.rbegin();
00243 }

template<class FieldTypeT, Int32 fieldNameSpace>
MField< FieldTypeT, fieldNameSpace >::reverse_iterator osg::MField< FieldTypeT, fieldNameSpace >::rend void   )  [inline, inherited]
 

Definition at line 213 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::rend().

Referenced by osg::QFCItem::addParents(), osg::QFCItem::addRefedContainer(), and osg::MField< FieldTypeT, fieldNameSpace >::rend().

00214 {
00215     return _values.rend();
00216 }

template<class FieldTypeT, Int32 fieldNameSpace>
MField< FieldTypeT, fieldNameSpace >::const_reverse_iterator osg::MField< FieldTypeT, fieldNameSpace >::rend void   )  const [inline, inherited]
 

Definition at line 249 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::rend().

00250 {
00251     return _values.rend();
00252 }

template<class FieldTypeT, Int32 fieldNameSpace>
MField< FieldTypeT, fieldNameSpace >::reference osg::MField< FieldTypeT, fieldNameSpace >::front void   )  [inline, inherited]
 

Definition at line 257 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::front().

Referenced by osg::MField< FieldTypeT, fieldNameSpace >::front().

00258 {
00259     return _values.front();
00260 }

template<class FieldTypeT, Int32 fieldNameSpace>
MField< FieldTypeT, fieldNameSpace >::const_reference osg::MField< FieldTypeT, fieldNameSpace >::front void   )  const [inline, inherited]
 

Definition at line 265 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::front().

00267 {
00268     return _values.front();
00269 }

template<class FieldTypeT, Int32 fieldNameSpace>
MField< FieldTypeT, fieldNameSpace >::reference osg::MField< FieldTypeT, fieldNameSpace >::back void   )  [inline, inherited]
 

Definition at line 274 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::back().

Referenced by osg::Window::addPort(), and osg::MField< FieldTypeT, fieldNameSpace >::back().

00275 {
00276     return _values.back();
00277 }

template<class FieldTypeT, Int32 fieldNameSpace>
MField< FieldTypeT, fieldNameSpace >::const_reference osg::MField< FieldTypeT, fieldNameSpace >::back void   )  const [inline, inherited]
 

Definition at line 282 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::back().

00284 {
00285     return _values.back();
00286 }

template<class FieldTypeT, Int32 fieldNameSpace>
void osg::MField< FieldTypeT, fieldNameSpace >::clear void   )  [inline, inherited]
 

Definition at line 289 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::_values.

Referenced by osg::VRMLImageTextureDesc::beginNode(), osg::MaterialPool::clear(), osg::Image::clearData(), osg::GradientBackground::clearLines(), osg::SortFirstWindow::clientPreSync(), osg::Image::createData(), osg::ClusterWindow::loadCalibration(), osg::Surface::readfromtso(), and osg::Surface::removeCurves().

00290 {
00291     _values.clear();
00292 }

template<class FieldTypeT, Int32 fieldNameSpace>
MField< FieldTypeT, fieldNameSpace >::iterator osg::MField< FieldTypeT, fieldNameSpace >::insert iterator  pos,
ArgumentType  value
[inline, inherited]
 

Definition at line 297 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::insert().

Referenced by osg::MField< FieldTypeT, fieldNameSpace >::insert(), osg::Node::insertChild(), and osg::Window::insertPort().

00299 {
00300     return _values.insert(pos, value);
00301 }

template<class FieldTypeT, Int32 fieldNameSpace>
MField< FieldTypeT, fieldNameSpace >::iterator osg::MField< FieldTypeT, fieldNameSpace >::erase iterator  pos  )  [inline, inherited]
 

Definition at line 306 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::erase().

Referenced by osg::calcVertexTangents(), osg::calcVertexTexCoords(), osg::MField< FieldTypeT, fieldNameSpace >::erase(), osg::MField< FieldTypeT, fieldNameSpace >::getValueByStr(), osg::DVRClipObjects::remove(), osg::GraphicStatisticsForeground::removeElement(), osg::MaterialPool::sub(), osg::Node::subChild(), osg::ChunkMaterial::subChunk(), osg::MultiPassMaterial::subMaterial(), osg::ShaderParameterAccess::subParameter(), osg::NodeCore::subParent(), osg::Attachment::subParent(), and osg::Window::subPort().

00308 {
00309     return _values.erase(pos);
00310 }

template<class FieldTypeT, Int32 fieldNameSpace>
MField< FieldTypeT, fieldNameSpace >::iterator osg::MField< FieldTypeT, fieldNameSpace >::find ArgumentType  value  )  [inline, inherited]
 

Definition at line 315 of file OSGMField.inl.

Referenced by osg::Geometry::CompareMaterials(), osg::Attachment::findParent(), osg::ClusterWindow::init(), osg::Node::replaceChildBy(), osg::Window::replacePortBy(), osg::MaterialPool::sub(), osg::Node::subChild(), osg::NodeCore::subParent(), osg::Attachment::subParent(), and osg::Window::subPort().

00317 {
00318     return STD::find(_values.begin(), _values.end(), value);
00319 }

template<class FieldTypeT, Int32 fieldNameSpace>
MField< FieldTypeT, fieldNameSpace >::const_iterator osg::MField< FieldTypeT, fieldNameSpace >::find ArgumentType  value  )  const [inline, inherited]
 

Definition at line 324 of file OSGMField.inl.

00326 {
00327     return STD::find(_values.begin(), _values.end(), value);
00328 }

template<class FieldTypeT, Int32 fieldNameSpace>
void osg::MField< FieldTypeT, fieldNameSpace >::push_back ArgumentType  value  )  [inline, inherited]
 

Definition at line 331 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::_values.

Referenced by osg::MaterialPool::add(), osg::DVRClipObjects::add(), osg::Node::addChild(), osg::ChunkMaterial::addChunk(), osg::Surface::addCurve(), osg::SimpleStatisticsForeground::addElement(), osg::GraphicStatisticsForeground::addElement(), osg::ImageForeground::addImage(), osg::GradientBackground::addLine(), osg::MultiPassMaterial::addMaterial(), osg::NodeCore::addParent(), osg::Attachment::addParent(), osg::Window::addPort(), osg::MField< FieldTypeT, fieldNameSpace >::addValue(), osg::calcFaceNormals(), osg::calcVertexNormals(), osg::calcVertexTangents(), osg::calcVertexTexCoords(), osg::SortFirstWindow::clientPreSync(), osg::ClusterWindow::loadCalibration(), osg::MField< FieldTypeT, fieldNameSpace >::pushValueByStr(), osg::Surface::readfromtso(), osg::ShaderParameterAccess::setParameter(), and osg::GeoTypeGraphOp::travNodeEnter().

00332 {
00333     _values.push_back(value);
00334 }

template<class FieldTypeT, Int32 fieldNameSpace>
void osg::MField< FieldTypeT, fieldNameSpace >::resize size_t  newsize,
FieldTypeT  t = FieldTypeT()
[inline, inherited]
 

Definition at line 337 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::_values.

Referenced by osg::State::addChunk(), osg::ProgramChunk::addParameter(), osg::DVRVolumeTexture::changed(), osg::DVRLookupTable::changed(), osg::DVRLookupTable::commonConstructor(), osg::Image::createData(), osg::Window::doInitRegisterGLObject(), osg::RegisterCombinersChunk::ensureSizes(), osg::ProgramChunk::setParameter(), and osg::TextureChunk::setShaderOffsetMatrix().

00338 {
00339     _values.resize(newsize, t);
00340 }

template<class FieldTypeT, Int32 fieldNameSpace>
void osg::MField< FieldTypeT, fieldNameSpace >::reserve size_t  newsize  )  [inline, inherited]
 

Definition at line 343 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::_values.

Referenced by osg::ParticleBSPTree::build(), and osg::GeoTypeGraphOp::travNodeEnter().

00344 {
00345     _values.reserve(newsize);
00346 }

template<class FieldTypeT, Int32 fieldNameSpace>
UInt32 osg::MField< FieldTypeT, fieldNameSpace >::size void   )  const [inline, inherited]
 

Definition at line 349 of file OSGMField.inl.

References osg::MField< FieldTypeT, fieldNameSpace >::_values.

Referenced by osg::PolygonChunk::activate(), osg::SharePtrGraphOp::addAttachmentParent(), osg::State::addChunk(), osg::ChunkMaterial::addChunk(), osg::Surface::addCurve(), osg::ProgramChunk::addParameter(), osg::QFCItem::addParents(), osg::Particles::adjustVolume(), osg::ParticleBSPTree::build(),