UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
AnyAr Class Reference
Inheritance diagram for AnyAr:
SortedAr DynAr

Public Member Functions

 AnyAr (const AnyAr &pArray)
 
 AnyAr (unsigned quant=AnyArQuant, unsigned volume=AnyArVolume)
 
AnyType & fetch (unsigned i)
 
AnyType get (unsigned i) const
 
void insert (unsigned i, const AnyType &val)
 
void addh (const AnyType &val)
 
void addl (const AnyType &val)
 
void addh (const AnyAr &pArray)
 
void addl (const AnyAr &pArray)
 
AnyArassign (const AnyAr &pArray)
 
AnyType & operator[] (unsigned i)
 
AnyType operator() (unsigned i) const
 
AnyAroperator= (const AnyAr &pArray)
 
virtual Compar compare (const char *item1, const char *item2) const
 
int find_ascent (AnyType &item) const
 
int find_descent (AnyType &item) const
 
int find (AnyType &item) const
 
Compar find_range_ascent (AnyType &value, unsigned &L, unsigned &R) const
 
Compar find_range_descent (AnyType &value, unsigned &L, unsigned &R) const
 
- Public Member Functions inherited from SortedAr
 SortedAr (const SortedAr &sortedar)
 
 SortedAr (unsigned size, unsigned quant, unsigned volume)
 
virtual void sort (Compar order)
 
virtual int quick_find_ascent (const char *item) const
 
virtual int quick_find_descent (const char *item) const
 
virtual int slow_find (const char *item) const
 
virtual Compar find_range_ascent (const char *value, unsigned &L, unsigned &R) const
 
virtual Compar find_range_descent (const char *value, unsigned &L, unsigned &R) const
 
- Public Member Functions inherited from DynAr
 DynAr (const DynAr &dynar)
 
 DynAr (unsigned size, unsigned quant, unsigned volume)
 
char * item_ptr (unsigned i) const
 
char * start_ptr () const
 
void clean ()
 
void clear_up ()
 
void pack ()
 
unsigned count () const
 
void reserve (unsigned n)
 
void insert (unsigned i)
 
void insertn (unsigned i, unsigned n)
 
void insert (unsigned i, const DynAr &dynar)
 
void insert (unsigned i, const char *item)
 
void addh ()
 
void addl ()
 
void addh (const char *item)
 
void addl (const char *item)
 
void addh (const DynAr &dynar)
 
void addl (const DynAr &dynar)
 
void addhn (unsigned n)
 
void addln (unsigned n)
 
void remove (unsigned i)
 
void removen (unsigned i, unsigned n)
 
DynArassign (const DynAr &dynar)
 
virtual void exchange (unsigned i1, unsigned i2)
 
virtual void print_item (unsigned i) const
 
virtual void print_contents () const
 

Additional Inherited Members

- Protected Member Functions inherited from SortedAr
void quick_sort (Compar order, unsigned L, unsigned R)
 
int quick_find (const char *item, Compar order, unsigned L, unsigned R) const
 
- Protected Member Functions inherited from DynAr
void extend_to (unsigned new_volume)
 
void extend_by (int add_volume)
 
void copy_from (const DynAr &dynar, unsigned i1, unsigned cnt)
 
void shift_by (unsigned i1, int offset)
 
virtual void destruct_item (char *)
 
- Protected Attributes inherited from DynAr
char * tar
 
unsigned tSize
 
unsigned tCount
 
unsigned tVolume
 
unsigned tQuant
 

The documentation for this class was generated from the following file: