aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/LogicCommands.cc
AgeCommit message (Collapse)AuthorFilesLines
2011-09-14Remove the assignment operator from a regular pointer to a RefCountPavel Labath1-4/+4
it is too easy too shoot yourself in the foot with it, other smart pointers also don't allow such assignments. If you do want to assign to a RefCount pointer, use reset(). ps: assignment between two RefCounts remains possible, of course.
2011-05-10Make RefCount<> more sensiblePavel Labath1-3/+3
the previous version of operator*() made no sense. E.g., it violated the invariant (*ptr).foo <=> ptr->foo. The dereferencing operator now returns a reference to the pointed-to object, rather than a pointer to it. I also added a bool conversion operator, which can be used in testing the NULL-ness of the pointer. Anyone wondering if that could be done in a simpler way is encouraged to read <http://www.artima.com/cppsource/safebool.html>. And, finally, I removed the mutable flag from the m_data member, since it does not need it.
2009-09-30cosmetic fixes: removed redundant ';' + some whitespacesMathias Gumz1-1/+1
2008-04-21some fixes for gcc 3.4Thomas Orgis1-1/+1
2008-01-24don't require final {} on :IfMark Tiefenbruck1-1/+1
2008-01-11make FbTk::Command a template class, split parsing information out of ↵Mark Tiefenbruck1-28/+28
ObjectRegistry
2008-01-04remove old svn $Id$ tagsMark Tiefenbruck1-2/+0
2007-12-20convert macro command parsing to use new StringUtil functionMark Tiefenbruck1-33/+23
2007-12-16changed CommandRegistry to a template class, renamed to ObjectRegistry<Type>Mark Tiefenbruck1-12/+12
2007-12-13added FbTk::CommandRegistry, decentralized command parsing, and made them ↵markt1-0/+93
auto-register
2007-11-22added conditional statements to keys filemarkt1-0/+75