Diffpack Documentation


Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

VecSimple_Type.h

Go to the documentation of this file.
00001 
00005 class VecSimple(Type) : public virtual VecSimplest(Type)
00006 
00007 {
00008 
00009 public:
00010 
00011   VecSimple(Type) ();
00012   VecSimple(Type) (int length);
00013   VecSimple(Type) (Type* a, int n, int base = 0);
00014   VecSimple(Type) (const VecSimple(Type)& X);
00015   
00016  ~VecSimple(Type) ();
00017 
00018   void fill (const Type& value);
00019   VecSimple(Type)& operator = (const Type& value) 
00020      { fill(value); return *this; }
00021 
00022   VecSimple(Type)& operator = (const VecSimple(Type)& X);
00023   VecSimple(Type)& append (const VecSimple(Type)& X);
00024   bool grow (int length);
00025 
00026   void print (Os os, const char* header = NULL,
00027               int nentries_per_line = 3) const;
00028   void scan  (Is is);
00029 
00030   void printAsIndex (Os os) const;
00031   void printAscii (Os os, const char* header = NULL,
00032                    int nentries_per_line = 3) const;
00033   void scanFromFile (const String& filename); 
00034 
00035   friend Os& operator << (Os& os, const VecSimple(Type)& x);
00036   friend Is& operator >> (Is& is , VecSimple(Type)& x);
00037 };
00038 
00039 

Copyright © 2003 inuTech GmbH. All rights reserved.