Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Hydra Core Library Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

rwsf::Vector<T>

Group:  General

Local Index

Members

Non-Members

Header File

#include <rwsf/core/Vector.h>

Description

This class is deprecated. Please use std::vector instead.

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

Public Constructors

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

Public Member Operators

T&
operator()(size_type i); 
const T&
operator()(size_type i) const;
T&
operator[](size_type i); 
const T&
operator[](size_type i) const;

Conversion Operator

operator std::vector<T>() const;

Public Member Functions

void
append(const T& val); 
append(const Vector<T>& values);
T&
at(size_type i); 
const T&
at(size_type i) const;
void
clear();
bool
contains(const T& a) const; 
const T*
data() const; 
size_t
entries() const; 
bool
find(const T& a, T& ret) const; 
T*
first();
const T&
first() const;
size_t
index(const T& p) const; 
bool
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; 
virtual size_t 
occurrencesOf(const T& a) const; 
void
prepend(const T& val); 
virtual bool
remove(const T& p); 
virtual size_t
removeAll(const T& p); 
T
removeAt(size_t i); 
T
removeFirst();
T
removeLast();
void
resize(size_t N); 

Global Operator

template <class T>
bool 
operator==(const Vector<T>& lhs, const Vector<T>& rhs);


Previous fileTop of DocumentContentsIndex pageNext file

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