|
| typedef yarp::os::idl::Unwrapped< VectorOfSizetData > | unwrapped |
| |
| using | value_type = size_t |
| |
| using | iterator = typename std::vector< size_t >::iterator |
| |
| using | const_iterator = typename std::vector< size_t >::const_iterator |
| |
| | VectorOfSizetData ()=default |
| |
| | VectorOfSizetData (const std::vector< size32 > &privdata) |
| |
| bool | read (yarp::os::idl::WireReader &reader) override |
| |
| bool | read (yarp::os::ConnectionReader &connection) override |
| | Read this object from a network connection.
|
| |
| bool | write (const yarp::os::idl::WireWriter &writer) const override |
| |
| bool | write (yarp::os::ConnectionWriter &connection) const override |
| | Write this object to a network connection.
|
| |
| std::string | toString () const |
| |
| virtual bool | readBare (yarp::os::ConnectionReader &reader) |
| |
| virtual bool | writeBare (yarp::os::ConnectionWriter &writer) const |
| |
| virtual bool | readBottle (yarp::os::ConnectionReader &reader) |
| |
| virtual bool | writeBottle (yarp::os::ConnectionWriter &writer) const |
| |
| virtual Type | getType () const |
| |
| virtual | ~PortReader () |
| | Destructor.
|
| |
| virtual Type | getReadType () const |
| |
| virtual | ~PortWriter () |
| | Destructor.
|
| |
| virtual void | onCompletion () const |
| | This is called when the port has finished all writing operations.
|
| |
| virtual void | onCommencement () const |
| | This is called when the port is about to begin writing operations.
|
| |
| virtual yarp::os::Type | getWriteType () const |
| |
| | VectorBase ()=default |
| |
| | VectorBase (size_t size) |
| |
| | VectorBase (std::initializer_list< size_t > values) |
| | Initializer list constructor.
|
| |
| | VectorBase (size_t s, const size_t &def) |
| | Build a vector and initialize it with def.
|
| |
| | VectorBase (size_t s, const size_t *p) |
| | Builds a vector and initialize it with values from 'p'.
|
| |
| | VectorBase (const VectorBase &r)=default |
| |
| | VectorBase (VectorBase< VectorOfSizet, size_t > &&other) noexcept=default |
| |
| VectorBase< VectorOfSizet, size_t > & | operator= (const VectorBase< VectorOfSizet, size_t > &r)=default |
| |
| VectorBase & | operator= (VectorBase< VectorOfSizet, size_t > &&other) noexcept=default |
| |
| VectorOfSizet & | operator= (const size_t &val) |
| |
| VectorOfSizet & | operator= (std::initializer_list< size_t > values) |
| | Initializer list assignment.
|
| |
| | ~VectorBase ()=default |
| |
| size_t | capacity () const |
| | Returns the capacity of the vector.
|
| |
| void | reserve (size_t size) |
| | Reserve space in the vector.
|
| |
| void | resize (size_t size) |
| | Resize the vector.
|
| |
| void | resize (size_t size, const size_t &def) |
| | Resize the vector and initialize the element to a default value.
|
| |
| void | pop_back () |
| | Pop an element out of the vector: size is changed.
|
| |
| size_t & | operator[] (size_t i) |
| | Single element access, no range check.
|
| |
| const size_t & | operator[] (size_t i) const |
| | Single element access, no range check, const version.
|
| |
| size_t & | operator() (size_t i) |
| | Single element access, no range check.
|
| |
| const size_t & | operator() (size_t i) const |
| | Single element access, no range check, const version.
|
| |
| size_t | size () const |
| | Returns the number of elements in the vector.
|
| |
| void | clear () |
| | Clear (removes all elements) the vector.
|
| |
| void | push_back (const size_t &elem) |
| | Push a new element in the vector: size is changed.
|
| |
| void | push_back (size_t &&elem) |
| | Move a new element in the vector: size is changed.
|
| |
| size_t * | data () |
| | Return a pointer to the first element of the vector.
|
| |
| const size_t * | data () const |
| | Return a pointer to the first element of the vector, const version.
|
| |
| VectorOfSizet | subVector (unsigned int first, unsigned int last) const |
| | Creates and returns a new vector, being the portion of the original vector defined by the first and last indexes of the items to be included in the subvector.
|
| |
| void | zero () |
| | Set to zero the elements of the vector.
|
| |
| iterator | begin () noexcept |
| | Returns an iterator to the beginning of the Vector.
|
| |
| const_iterator | begin () const noexcept |
| |
| iterator | end () noexcept |
| |
| const_iterator | end () const noexcept |
| |
| const_iterator | cbegin () const noexcept |
| |
| void | erase (iterator pos) |
| | Remove an element from the vector.
|
| |
| void | erase (iterator first, iterator last) |
| | Remove one or more elements from the vector.
|
| |
| size_t | getElementSize () const |
| |
| static bool | copyPortable (const PortWriter &writer, PortReader &reader) |
| | Copy one portable to another, via writing and reading.
|
| |
| std::vector< size32 > | privdata {} |
| |
Definition at line 132 of file Vector.h.