FF4 - Snapshot
- Objects ready for implementation. - Removed template X.h X.cpp.
This commit is contained in:
@@ -38,7 +38,7 @@ Att::Att ()
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
Att::Att (const std::string& name, const std::string& value)
|
Att::Att (const std::string& name, const std::string& value)
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented Att::Att");
|
||||||
mName = name;
|
mName = name;
|
||||||
mValue = value;
|
mValue = value;
|
||||||
|
|
||||||
@@ -47,7 +47,7 @@ Att::Att (const std::string& name, const std::string& value)
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
Att::Att (const Att& other)
|
Att::Att (const Att& other)
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented Att::Att");
|
||||||
mName = other.mName;
|
mName = other.mName;
|
||||||
mValue = other.mValue;
|
mValue = other.mValue;
|
||||||
mMods = other.mMods;
|
mMods = other.mMods;
|
||||||
@@ -56,7 +56,7 @@ Att::Att (const Att& other)
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
Att& Att::operator= (const Att& other)
|
Att& Att::operator= (const Att& other)
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented Att::operator=");
|
||||||
if (this != &other)
|
if (this != &other)
|
||||||
{
|
{
|
||||||
mName = other.mName;
|
mName = other.mName;
|
||||||
@@ -77,20 +77,20 @@ Att::~Att ()
|
|||||||
// name [[.mod] ...] : [value]
|
// name [[.mod] ...] : [value]
|
||||||
void Att::parse (const std::string& input)
|
void Att::parse (const std::string& input)
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented Att::parse");
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
std::string Att::composeF4 () const
|
std::string Att::composeF4 () const
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented Att::composeF4");
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
void Att::addMod (const std::string&)
|
void Att::addMod (const std::string&)
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented Att::addMod");
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
@@ -120,34 +120,34 @@ void Att::value (const std::string& value)
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
int Att::value_int () const
|
int Att::value_int () const
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented Att::value_int");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
void Att::value_int (int)
|
void Att::value_int (int)
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented Att::value_int");
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
bool Att::filter () const
|
bool Att::filter () const
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented filter");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
bool Att::required () const
|
bool Att::required () const
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented Att::required");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
bool Att::internal () const
|
bool Att::internal () const
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented Att::internal");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ Context::Context ()
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
Context::Context (const Context& other)
|
Context::Context (const Context& other)
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented Context::Context");
|
||||||
// config = other.config;
|
// config = other.config;
|
||||||
filter = other.filter;
|
filter = other.filter;
|
||||||
keymap = other.keymap;
|
keymap = other.keymap;
|
||||||
@@ -47,7 +47,7 @@ Context::Context (const Context& other)
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
Context& Context::operator= (const Context& other)
|
Context& Context::operator= (const Context& other)
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented Context::operator=");
|
||||||
if (this != &other)
|
if (this != &other)
|
||||||
{
|
{
|
||||||
// config = other.config;
|
// config = other.config;
|
||||||
@@ -69,7 +69,7 @@ Context::~Context ()
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
void Context::initialize ()
|
void Context::initialize ()
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented Context::initialize");
|
||||||
// TODO Load config.
|
// TODO Load config.
|
||||||
// TODO Load pending.data.
|
// TODO Load pending.data.
|
||||||
// TODO Load completed.data.
|
// TODO Load completed.data.
|
||||||
@@ -79,7 +79,7 @@ void Context::initialize ()
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
int Context::commandLine (int argc, char** argv)
|
int Context::commandLine (int argc, char** argv)
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented Context::commandLine");
|
||||||
// TODO Support rc: override.
|
// TODO Support rc: override.
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@@ -87,7 +87,7 @@ int Context::commandLine (int argc, char** argv)
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
int Context::run ()
|
int Context::run ()
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented Context::run");
|
||||||
// TODO Dispatch to command handlers.
|
// TODO Dispatch to command handlers.
|
||||||
// TODO Auto shadow update.
|
// TODO Auto shadow update.
|
||||||
// TODO Auto gc.
|
// TODO Auto gc.
|
||||||
|
|||||||
@@ -35,14 +35,14 @@ Date::Date ()
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
Date::Date (const Date& other)
|
Date::Date (const Date& other)
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented Date::Date");
|
||||||
mTime = other.mTime;
|
mTime = other.mTime;
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
Date& Date::operator= (const Date& other)
|
Date& Date::operator= (const Date& other)
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented Date::operator=");
|
||||||
if (this != &other)
|
if (this != &other)
|
||||||
{
|
{
|
||||||
mTime = other.mTime;
|
mTime = other.mTime;
|
||||||
@@ -63,7 +63,7 @@ Date::~Date ()
|
|||||||
// TODO Relative dates (today, tomorrow, yesterday, +1d, -2w, eow, eom, eoy)
|
// TODO Relative dates (today, tomorrow, yesterday, +1d, -2w, eow, eom, eoy)
|
||||||
void Date::parse (const std::string& input)
|
void Date::parse (const std::string& input)
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented Date::parse");
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|||||||
@@ -36,14 +36,14 @@ Duration::Duration ()
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
Duration::Duration (const Duration& other)
|
Duration::Duration (const Duration& other)
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented Duration::Duration");
|
||||||
mSeconds = other.mSeconds;
|
mSeconds = other.mSeconds;
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
Duration& Duration::operator= (const Duration& other)
|
Duration& Duration::operator= (const Duration& other)
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented Duration::operator=");
|
||||||
if (this != &other)
|
if (this != &other)
|
||||||
{
|
{
|
||||||
mSeconds = other.mSeconds;
|
mSeconds = other.mSeconds;
|
||||||
@@ -60,7 +60,7 @@ Duration::~Duration ()
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
void Duration::parse (const std::string& input)
|
void Duration::parse (const std::string& input)
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented Duration::parse");
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|||||||
@@ -35,14 +35,14 @@ Filter::Filter ()
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
Filter::Filter (const Filter& other)
|
Filter::Filter (const Filter& other)
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented Filter::Filter");
|
||||||
mAtts = other.mAtts;
|
mAtts = other.mAtts;
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
Filter& Filter::operator= (const Filter& other)
|
Filter& Filter::operator= (const Filter& other)
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented Filter::operator=");
|
||||||
if (this != &other)
|
if (this != &other)
|
||||||
{
|
{
|
||||||
mAtts = other.mAtts;
|
mAtts = other.mAtts;
|
||||||
@@ -59,14 +59,14 @@ Filter::~Filter ()
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
void Filter::add (Att& att)
|
void Filter::add (Att& att)
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented Filter::add");
|
||||||
mAtts.push_back (att);
|
mAtts.push_back (att);
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
bool Filter::pass (T&)
|
bool Filter::pass (T&)
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented Filter::pass");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -36,14 +36,14 @@ Keymap::Keymap ()
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
Keymap::Keymap (const Keymap& other)
|
Keymap::Keymap (const Keymap& other)
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented Keymap::Keymap");
|
||||||
// mOne = other.mOne;
|
// mOne = other.mOne;
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
Keymap& Keymap::operator= (const Keymap& other)
|
Keymap& Keymap::operator= (const Keymap& other)
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented Keymap::operator=");
|
||||||
if (this != &other)
|
if (this != &other)
|
||||||
{
|
{
|
||||||
// mOne = other.mOne;
|
// mOne = other.mOne;
|
||||||
@@ -60,7 +60,7 @@ Keymap::~Keymap ()
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
void Keymap::load (const std::string& file)
|
void Keymap::load (const std::string& file)
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented Keymap::load");
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|||||||
@@ -35,14 +35,14 @@ Record::Record ()
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
Record::Record (const Record& other)
|
Record::Record (const Record& other)
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented Record::Record");
|
||||||
mAtts = other.mAtts;
|
mAtts = other.mAtts;
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
Record& Record::operator= (const Record& other)
|
Record& Record::operator= (const Record& other)
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented Record:operator=");
|
||||||
if (this != &other)
|
if (this != &other)
|
||||||
{
|
{
|
||||||
mAtts = other.mAtts;
|
mAtts = other.mAtts;
|
||||||
|
|||||||
@@ -36,14 +36,14 @@ Sequence::Sequence ()
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
Sequence::Sequence (const Sequence& other)
|
Sequence::Sequence (const Sequence& other)
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented Sequence::Sequence");
|
||||||
mSequence = other.mSequence;
|
mSequence = other.mSequence;
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
Sequence& Sequence::operator= (const Sequence& other)
|
Sequence& Sequence::operator= (const Sequence& other)
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented Sequence::operator=");
|
||||||
if (this != &other)
|
if (this != &other)
|
||||||
{
|
{
|
||||||
mSequence = other.mSequence;
|
mSequence = other.mSequence;
|
||||||
@@ -60,7 +60,7 @@ Sequence::~Sequence ()
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
void Sequence::parse (const std::string& input)
|
void Sequence::parse (const std::string& input)
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented Sequence::parse");
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|||||||
@@ -36,20 +36,20 @@ T::T ()
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
T::T (const T& other)
|
T::T (const T& other)
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented T::T");
|
||||||
// mOne = other.mOne;
|
// mOne = other.mOne;
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
T::T (const std::string& input)
|
T::T (const std::string& input)
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented T::T");
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
T& T::operator= (const T& other)
|
T& T::operator= (const T& other)
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented T::operator=");
|
||||||
if (this != &other)
|
if (this != &other)
|
||||||
{
|
{
|
||||||
// mOne = other.mOne;
|
// mOne = other.mOne;
|
||||||
@@ -66,21 +66,21 @@ T::~T ()
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
std::string T::composeF4 ()
|
std::string T::composeF4 ()
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented T::composeF4");
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
std::string T::composeCSV ()
|
std::string T::composeCSV ()
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented T::composeCSV");
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
void T::parse (const std::string& input)
|
void T::parse (const std::string& input)
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented T::parse");
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|||||||
@@ -36,14 +36,14 @@ TDB::TDB ()
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
TDB::TDB (const TDB& other)
|
TDB::TDB (const TDB& other)
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented TDB::TDB");
|
||||||
mLocations = other.mLocations;
|
mLocations = other.mLocations;
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
TDB& TDB::operator= (const TDB& other)
|
TDB& TDB::operator= (const TDB& other)
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented TDB::operator=");
|
||||||
if (this != &other)
|
if (this != &other)
|
||||||
{
|
{
|
||||||
mLocations = other.mLocations;
|
mLocations = other.mLocations;
|
||||||
@@ -60,7 +60,7 @@ TDB::~TDB ()
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
void TDB::location (const std::string& path)
|
void TDB::location (const std::string& path)
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented TDB::location");
|
||||||
mLocations.push_back (path);
|
mLocations.push_back (path);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -68,7 +68,7 @@ void TDB::location (const std::string& path)
|
|||||||
// TODO Returns number of filtered tasks.
|
// TODO Returns number of filtered tasks.
|
||||||
int TDB::load (std::vector <T>& tasks, Filter& filter)
|
int TDB::load (std::vector <T>& tasks, Filter& filter)
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented TDB::load");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -76,21 +76,21 @@ int TDB::load (std::vector <T>& tasks, Filter& filter)
|
|||||||
// TODO Write to transaction log.
|
// TODO Write to transaction log.
|
||||||
void TDB::update (T& before, T& after)
|
void TDB::update (T& before, T& after)
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented TDB::update");
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// TODO writes all, including comments
|
// TODO writes all, including comments
|
||||||
int TDB::commit ()
|
int TDB::commit ()
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented TDB::commit");
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
// TODO -> FF4
|
// TODO -> FF4
|
||||||
void TDB::upgrade ()
|
void TDB::upgrade ()
|
||||||
{
|
{
|
||||||
throw std::string ("unimplemented");
|
throw std::string ("unimplemented TDB::upgrade");
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|||||||
@@ -1,58 +0,0 @@
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
// task - a command line task list manager.
|
|
||||||
//
|
|
||||||
// Copyright 2006 - 2009, Paul Beckingham.
|
|
||||||
// All rights reserved.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or modify it under
|
|
||||||
// the terms of the GNU General Public License as published by the Free Software
|
|
||||||
// Foundation; either version 2 of the License, or (at your option) any later
|
|
||||||
// version.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful, but WITHOUT
|
|
||||||
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
|
||||||
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
|
||||||
// details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License along with
|
|
||||||
// this program; if not, write to the
|
|
||||||
//
|
|
||||||
// Free Software Foundation, Inc.,
|
|
||||||
// 51 Franklin Street, Fifth Floor,
|
|
||||||
// Boston, MA
|
|
||||||
// 02110-1301
|
|
||||||
// USA
|
|
||||||
//
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
#include "X.h"
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
X::X ()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
X::X (const X& other)
|
|
||||||
{
|
|
||||||
// mOne = other.mOne;
|
|
||||||
}
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
X& X::operator= (const X& other)
|
|
||||||
{
|
|
||||||
if (this != &other)
|
|
||||||
{
|
|
||||||
// mOne = other.mOne;
|
|
||||||
}
|
|
||||||
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
X::~X ()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
@@ -1,42 +0,0 @@
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
// task - a command line task list manager.
|
|
||||||
//
|
|
||||||
// Copyright 2006 - 2009, Paul Beckingham.
|
|
||||||
// All rights reserved.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or modify it under
|
|
||||||
// the terms of the GNU General Public License as published by the Free Software
|
|
||||||
// Foundation; either version 2 of the License, or (at your option) any later
|
|
||||||
// version.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful, but WITHOUT
|
|
||||||
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
|
||||||
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
|
|
||||||
// details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License along with
|
|
||||||
// this program; if not, write to the
|
|
||||||
//
|
|
||||||
// Free Software Foundation, Inc.,
|
|
||||||
// 51 Franklin Street, Fifth Floor,
|
|
||||||
// Boston, MA
|
|
||||||
// 02110-1301
|
|
||||||
// USA
|
|
||||||
//
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
#ifndef INCLUDED_X
|
|
||||||
#define INCLUDED_X
|
|
||||||
|
|
||||||
class X
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
X (); // Default constructor
|
|
||||||
X (const X&); // Copy constructor
|
|
||||||
X& operator= (const X&); // Assignment operator
|
|
||||||
~X (); // Destructor
|
|
||||||
|
|
||||||
private:
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
Reference in New Issue
Block a user