Code Cleanup
- Added declared but unimplemented copy constructors and assignment operators.
This commit is contained in:
@@ -39,6 +39,9 @@ public:
|
|||||||
Cmd (const std::string&); // Default constructor
|
Cmd (const std::string&); // Default constructor
|
||||||
~Cmd (); // Destructor
|
~Cmd (); // Destructor
|
||||||
|
|
||||||
|
Cmd (const Cmd&);
|
||||||
|
Cmd& operator= (const Cmd&);
|
||||||
|
|
||||||
bool valid (const std::string&);
|
bool valid (const std::string&);
|
||||||
bool validCustom (const std::string&);
|
bool validCustom (const std::string&);
|
||||||
void parse (const std::string&);
|
void parse (const std::string&);
|
||||||
|
|||||||
@@ -37,6 +37,9 @@ public:
|
|||||||
Config ();
|
Config ();
|
||||||
Config (const std::string&);
|
Config (const std::string&);
|
||||||
|
|
||||||
|
Config (const Config&);
|
||||||
|
Config& operator= (const Config&);
|
||||||
|
|
||||||
bool load (const std::string&);
|
bool load (const std::string&);
|
||||||
void createDefault (const std::string&);
|
void createDefault (const std::string&);
|
||||||
void setDefaults ();
|
void setDefaults ();
|
||||||
|
|||||||
@@ -43,6 +43,9 @@ public:
|
|||||||
Context (); // Default constructor
|
Context (); // Default constructor
|
||||||
~Context (); // Destructor
|
~Context (); // Destructor
|
||||||
|
|
||||||
|
Context (const Context&);
|
||||||
|
Context& operator= (const Context&);
|
||||||
|
|
||||||
void initialize (int, char**); // all startup
|
void initialize (int, char**); // all startup
|
||||||
void initialize (); // for reinitializing
|
void initialize (); // for reinitializing
|
||||||
int run (); // task classic
|
int run (); // task classic
|
||||||
|
|||||||
@@ -45,6 +45,9 @@ public:
|
|||||||
Cell (const double);
|
Cell (const double);
|
||||||
Cell (const std::string&);
|
Cell (const std::string&);
|
||||||
|
|
||||||
|
Cell (const Cell&);
|
||||||
|
Cell& operator= (const Cell&);
|
||||||
|
|
||||||
operator bool () const;
|
operator bool () const;
|
||||||
operator char () const;
|
operator char () const;
|
||||||
operator int () const;
|
operator int () const;
|
||||||
@@ -72,6 +75,9 @@ public:
|
|||||||
Grid ();
|
Grid ();
|
||||||
~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 bool);
|
||||||
void add (const unsigned int, const unsigned int, const char);
|
void add (const unsigned int, const unsigned int, const char);
|
||||||
void add (const unsigned int, const unsigned int, const int);
|
void add (const unsigned int, const unsigned int, const int);
|
||||||
|
|||||||
@@ -39,6 +39,9 @@ public:
|
|||||||
Sequence (const std::string&); // Parse
|
Sequence (const std::string&); // Parse
|
||||||
~Sequence (); // Destructor
|
~Sequence (); // Destructor
|
||||||
|
|
||||||
|
Sequence (const Sequence&);
|
||||||
|
Sequence& operator= (const Sequence&);
|
||||||
|
|
||||||
bool valid (const std::string&) const;
|
bool valid (const std::string&) const;
|
||||||
void parse (const std::string&);
|
void parse (const std::string&);
|
||||||
void combine (const Sequence&);
|
void combine (const Sequence&);
|
||||||
|
|||||||
@@ -36,6 +36,9 @@ public:
|
|||||||
StringTable (); // Default constructor
|
StringTable (); // Default constructor
|
||||||
~StringTable (); // Destructor
|
~StringTable (); // Destructor
|
||||||
|
|
||||||
|
StringTable (const StringTable&);
|
||||||
|
StringTable& operator= (const StringTable&);
|
||||||
|
|
||||||
void load (const std::string&);
|
void load (const std::string&);
|
||||||
std::string get (int, const std::string&);
|
std::string get (int, const std::string&);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -43,6 +43,9 @@ public:
|
|||||||
TDB (); // Default constructor
|
TDB (); // Default constructor
|
||||||
~TDB (); // Destructor
|
~TDB (); // Destructor
|
||||||
|
|
||||||
|
TDB (const TDB&);
|
||||||
|
TDB& operator= (const TDB&);
|
||||||
|
|
||||||
void clear ();
|
void clear ();
|
||||||
void location (const std::string&);
|
void location (const std::string&);
|
||||||
|
|
||||||
|
|||||||
@@ -52,6 +52,9 @@ public:
|
|||||||
Table ();
|
Table ();
|
||||||
virtual ~Table ();
|
virtual ~Table ();
|
||||||
|
|
||||||
|
Table (const Table&);
|
||||||
|
Table& operator= (const Table&);
|
||||||
|
|
||||||
void setTableColor (Text::color, Text::color);
|
void setTableColor (Text::color, Text::color);
|
||||||
void setTableFg (Text::color);
|
void setTableFg (Text::color);
|
||||||
void setTableBg (Text::color);
|
void setTableBg (Text::color);
|
||||||
|
|||||||
@@ -35,6 +35,8 @@ class Timer
|
|||||||
public:
|
public:
|
||||||
Timer (const std::string&);
|
Timer (const std::string&);
|
||||||
~Timer ();
|
~Timer ();
|
||||||
|
Timer (const Timer&);
|
||||||
|
Timer& operator= (const Timer&);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string mDescription;
|
std::string mDescription;
|
||||||
|
|||||||
Reference in New Issue
Block a user