torc-master
|
A single object with no child objects. More...
#include <Scalar.hpp>
Public Types | |
typedef Composite< _Type >::Type | Type |
typedef Composite< _Type >::Pointer | Pointer |
typedef Composite< _Type >::List | List |
typedef Composite< _Type > ::SizeType | SizeType |
typedef boost::weak_ptr< Type > | WeakPointer |
Public Member Functions | |
virtual | ~Scalar () throw () |
virtual CompositionType | getCompositionType () const |
virtual SizeType | getSize () const |
virtual const Pointer | get (const std::vector< SizeType > &indices) const throw (Error) |
virtual void | getChildren (List &outChildren) const throw (Error) |
virtual void | setParentCollection (const Pointer &inParentCollection) |
virtual Pointer | getParentCollection () const |
void | setWeakThis (const WeakPointer &inWeakThis) |
Pointer | getSharedThis () const |
Protected Member Functions | |
Scalar () | |
Private Member Functions | |
Scalar (const Scalar< _Type > &source) | |
Scalar< _Type > & | operator= (const Scalar< _Type > &source) |
A single object with no child objects.
Definition at line 34 of file Scalar.hpp.
typedef Composite<_Type>::List torc::generic::Scalar< _Type >::List |
Definition at line 41 of file Scalar.hpp.
typedef Composite<_Type>::Pointer torc::generic::Scalar< _Type >::Pointer |
Definition at line 40 of file Scalar.hpp.
typedef Composite<_Type>::SizeType torc::generic::Scalar< _Type >::SizeType |
Definition at line 42 of file Scalar.hpp.
typedef Composite<_Type>::Type torc::generic::Scalar< _Type >::Type |
Definition at line 39 of file Scalar.hpp.
|
inherited |
Definition at line 56 of file Composite.hpp.
|
virtual |
Definition at line 88 of file Scalar.hpp.
|
protected |
Definition at line 130 of file Scalar.hpp.
|
private |
|
virtual |
Get a specific member of this composition.
[in] | indices | A list of indices to be accessed. The number of indices must be equal to the number of dimensions. |
Implements torc::generic::Composite< _Type >.
Definition at line 115 of file Scalar.hpp.
|
virtual |
Get children of this composition.
[out] | outChildren | A list of all children for this composition |
Get children of this composition.
[out] | outChildren | A list of all children for this composition |
Implements torc::generic::Composite< _Type >.
Definition at line 125 of file Scalar.hpp.
|
virtual |
Get composition type for this object
Implements torc::generic::Composite< _Type >.
Definition at line 95 of file Scalar.hpp.
|
inlinevirtualinherited |
Get a pointer to the parent collection
Definition at line 156 of file Composite.hpp.
|
inlineinherited |
Get a shared pointer to this object. A valid pointer is returned if weakThis was set. Otherwise this returns a NULL pointer. For Vector types, the second scenario is an exception condition and should be treated as such.
Get a shared pointer to this object. A valid pointer is returned if weakThis was set. Otherwise this returns a NULL pointer. For Vector types, the second scenario is an exception condition and should be treated as such.
[out] | ptr | Set to a shared pointer to this object |
|
virtual |
Get the total number of bits of the composition
Implements torc::generic::Composite< _Type >.
Definition at line 103 of file Scalar.hpp.
|
private |
|
inlinevirtualinherited |
Set a pointer to a parnt composition.
[in] | inParentCollection | pointer to the parent collection (Vector/Bundle) |
Set a pointer to a parnt composition.
[in] | parentCollection | pointer to the parent collection (Vector/Bundle) |
Definition at line 145 of file Composite.hpp.
|
inlineinherited |
Set a weak pointer to this object. This will be used later to get a shared pointer to this object from within other member methods if required. This should be called by the Factory creating the object.
[in] | weakThis | A weak pointer to this object |