diff --git a/src/Cmd.h b/src/Cmd.h index 73a95b75c..15ff7aaa8 100644 --- a/src/Cmd.h +++ b/src/Cmd.h @@ -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&); diff --git a/src/Config.h b/src/Config.h index 6b7983df3..b1a3f518c 100644 --- a/src/Config.h +++ b/src/Config.h @@ -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 (); diff --git a/src/Context.h b/src/Context.h index 621df030f..da55ec719 100644 --- a/src/Context.h +++ b/src/Context.h @@ -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 diff --git a/src/Grid.h b/src/Grid.h index 7160426b0..34a4d8281 100644 --- a/src/Grid.h +++ b/src/Grid.h @@ -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); diff --git a/src/Sequence.h b/src/Sequence.h index f5342000f..b7d864d4c 100644 --- a/src/Sequence.h +++ b/src/Sequence.h @@ -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&); diff --git a/src/StringTable.h b/src/StringTable.h index e07046665..9e9d45736 100644 --- a/src/StringTable.h +++ b/src/StringTable.h @@ -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&); }; diff --git a/src/TDB.h b/src/TDB.h index 29ba29928..3ca81c404 100644 --- a/src/TDB.h +++ b/src/TDB.h @@ -43,6 +43,9 @@ public: TDB (); // Default constructor ~TDB (); // Destructor + TDB (const TDB&); + TDB& operator= (const TDB&); + void clear (); void location (const std::string&); diff --git a/src/Table.h b/src/Table.h index aed5587e1..872e52a50 100644 --- a/src/Table.h +++ b/src/Table.h @@ -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); diff --git a/src/Timer.h b/src/Timer.h index 6b561aac2..db206a723 100644 --- a/src/Timer.h +++ b/src/Timer.h @@ -35,6 +35,8 @@ class Timer public: Timer (const std::string&); ~Timer (); + Timer (const Timer&); + Timer& operator= (const Timer&); private: std::string mDescription;