Main Page | Namespace List | Class Hierarchy | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages

CharArrayArrayBeautifier.hpp

Go to the documentation of this file.
00001 #ifndef CharArrayArrayBeautifier_HPP
00002 #define CharArrayArrayBeautifier_HPP
00003 
00004 #include <cstring>
00005 #include <cassert>
00006 
00007 
00021 class CharArrayArrayBeautifier{
00022 
00023   private:
00024 
00025     char ** array;                    
00026     int num;                          
00027     int addedTokens;                  
00036     char * newCopy(const char * cstr);
00037 
00038   public:
00039 
00046     CharArrayArrayBeautifier(int num_);
00047 
00051     ~CharArrayArrayBeautifier();
00052 
00059     void set(int i, const char * cstr);
00060 
00061 
00065     char ** getArray();
00066 
00067     void add(const char * cstr){ set(addedTokens, cstr); }
00068 
00069 };
00070 
00071 #endif//CharArrayArrayBeautifier_HPP

Generated on Mon Sep 6 16:12:47 2004 by doxygen 1.3.3