Code Cleanup

- Added declared but unimplemented copy constructors and assignment
  operators.
This commit is contained in:
Paul Beckingham 2009-06-23 00:00:50 -04:00
parent c6a56d444e
commit e59e35ae29
9 changed files with 29 additions and 0 deletions

View file

@ -39,6 +39,9 @@ public:
Cmd (const std::string&); // Default constructor
~Cmd (); // Destructor
Cmd (const Cmd&);
Cmd& operator= (const Cmd&);
bool valid (const std::string&);
bool validCustom (const std::string&);
void parse (const std::string&);

View file

@ -37,6 +37,9 @@ public:
Config ();
Config (const std::string&);
Config (const Config&);
Config& operator= (const Config&);
bool load (const std::string&);
void createDefault (const std::string&);
void setDefaults ();

View file

@ -43,6 +43,9 @@ public:
Context (); // Default constructor
~Context (); // Destructor
Context (const Context&);
Context& operator= (const Context&);
void initialize (int, char**); // all startup
void initialize (); // for reinitializing
int run (); // task classic

View file

@ -45,6 +45,9 @@ public:
Cell (const double);
Cell (const std::string&);
Cell (const Cell&);
Cell& operator= (const Cell&);
operator bool () const;
operator char () const;
operator int () const;
@ -72,6 +75,9 @@ public:
Grid ();
~Grid ();
Grid (const Grid&);
Grid& operator= (const Grid&);
void add (const unsigned int, const unsigned int, const bool);
void add (const unsigned int, const unsigned int, const char);
void add (const unsigned int, const unsigned int, const int);

View file

@ -39,6 +39,9 @@ public:
Sequence (const std::string&); // Parse
~Sequence (); // Destructor
Sequence (const Sequence&);
Sequence& operator= (const Sequence&);
bool valid (const std::string&) const;
void parse (const std::string&);
void combine (const Sequence&);

View file

@ -36,6 +36,9 @@ public:
StringTable (); // Default constructor
~StringTable (); // Destructor
StringTable (const StringTable&);
StringTable& operator= (const StringTable&);
void load (const std::string&);
std::string get (int, const std::string&);
};

View file

@ -43,6 +43,9 @@ public:
TDB (); // Default constructor
~TDB (); // Destructor
TDB (const TDB&);
TDB& operator= (const TDB&);
void clear ();
void location (const std::string&);

View file

@ -52,6 +52,9 @@ public:
Table ();
virtual ~Table ();
Table (const Table&);
Table& operator= (const Table&);
void setTableColor (Text::color, Text::color);
void setTableFg (Text::color);
void setTableBg (Text::color);

View file

@ -35,6 +35,8 @@ class Timer
public:
Timer (const std::string&);
~Timer ();
Timer (const Timer&);
Timer& operator= (const Timer&);
private:
std::string mDescription;