Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
HydraExpress C++ API Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

rwsf::Vector

Group:  Core Containers


Does not inherit

Local Index

Members

Header File

#include rwsf/core/Vector.h

Description

This class maintains a collection of values, implemented as a vector.

Deprecated. Use std::vector instead.

Public Constructors

Vector();
Vector(size_t capac);
Vector(size_t n,
    const T & ival);

Public Destructors

virtual
~Vector();

Public Member Functions

void
append(const T & val);
void
append(const Vector< T > & values);
T &
at(size_t i);
const T &
at(size_t i) const;
void
clear();
bool
contains(const T & a) const;
const T *
data() const;
size_t
entries() const;
bool
find(const T & p,
    T & ret) const;
T &
first();
const T &
first() const;
size_t
index(const T & p) const;
void
insert(const T & val);
void
insertAt(size_t i,
    const T & a);
bool
isEmpty() const;
T &
last();
const T &
last() const;
size_t
length() const;
size_t
occurrencesOf(const T &) const;
void
prepend(const T & val);
bool
remove(const T & p);
size_t
removeAll(const T & p);
T
removeAt(size_t i);
T
removeFirst();
T
removeLast();
void
resize(size_t N);

Public Operators

T &
operator()(size_t i);
const T &
operator()(size_t i) const;
T &
operator[](size_t i);
const T &
operator[](size_t i) const;
operator std::vector() const;


Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved. All Rights Reserved. Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. HydraExpress is a trademark of Rogue Wave Software, Inc. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.