Removed a bunch of empty comments

This commit is contained in:
John Wiegley 2009-11-08 14:59:11 -05:00
parent 55c7792c93
commit 394c7bd8df
41 changed files with 0 additions and 538 deletions

View file

@ -38,10 +38,6 @@
* @author John Wiegley
*
* @ingroup data
*
* @brief Brief
*
* Long.
*/
#ifndef _ACCOUNT_H
#define _ACCOUNT_H
@ -57,11 +53,6 @@ class post_t;
typedef std::list<post_t *> posts_list;
typedef std::map<const string, account_t *> accounts_map;
/**
* @brief Brief
*
* Long.
*/
class account_t : public supports_flags<>, public scope_t
{
#define ACCOUNT_NORMAL 0x00 // no flags at all, a basic account

View file

@ -38,21 +38,12 @@
* @author John Wiegley
*
* @ingroup util
*
* @brief Brief
*
* Full.
*/
#ifndef _ACCUM_H
#define _ACCUM_H
namespace ledger {
/**
* @brief Brief
*
* Full.
*/
class straccbuf : public std::streambuf
{
protected:
@ -68,11 +59,6 @@ protected:
friend class straccstream;
};
/**
* @brief Brief
*
* Full.
*/
class straccstream : public std::ostream
{
protected:

View file

@ -48,11 +48,6 @@
namespace ledger {
/**
* @brief Brief
*
* Long.
*/
struct annotation_t : public supports_flags<>,
public equality_comparable<annotation_t>
{
@ -174,11 +169,6 @@ inline std::ostream& operator<<(std::ostream& out,
return out;
}
/**
* @brief Brief
*
* Long.
*/
class annotated_commodity_t
: public commodity_t,
public equality_comparable<annotated_commodity_t,

View file

@ -38,10 +38,6 @@
* @author John Wiegley
*
* @ingroup report
*
* @brief Brief
*
* Long.
*/
#ifndef _ARCHIVE_H
#define _ARCHIVE_H
@ -50,11 +46,6 @@
namespace ledger {
/**
* @brief Brief
*
* Long.
*/
class archive_t
{
path file;

View file

@ -38,10 +38,6 @@
* @author John Wiegley
*
* @ingroup report
*
* @brief Brief
*
* Long.
*/
#ifndef _CHAIN_H
#define _CHAIN_H
@ -53,11 +49,6 @@ namespace ledger {
class post_t;
class account_t;
/**
* @brief Brief
*
* Long.
*/
template <typename T>
struct item_handler : public noncopyable
{

View file

@ -53,11 +53,6 @@ class keep_details_t;
DECLARE_EXCEPTION(commodity_error, std::runtime_error);
/**
* @brief Brief
*
* Long.
*/
struct price_point_t
{
datetime_t when;
@ -77,11 +72,6 @@ private:
#endif // HAVE_BOOST_SERIALIZATION
};
/**
* @brief Brief
*
* Long.
*/
class commodity_t
: public delegates_flags<uint_least16_t>,
public equality_comparable1<commodity_t, noncopyable>
@ -424,11 +414,6 @@ inline std::ostream& operator<<(std::ostream& out, const commodity_t& comm) {
return out;
}
/**
* @brief Brief
*
* Long.
*/
struct compare_amount_commodities {
bool operator()(const amount_t * left, const amount_t * right) const;
};

View file

@ -38,10 +38,6 @@
* @author John Wiegley
*
* @ingroup data
*
* @brief Brief
*
* Long.
*/
#ifndef _COMPARE_H
#define _COMPARE_H
@ -56,11 +52,6 @@ class account_t;
void push_sort_value(std::list<sort_value_t>& sort_values,
expr_t::ptr_op_t node, scope_t& scope);
/**
* @brief Brief
*
* Long.
*/
template <typename T>
class compare_items
{

View file

@ -38,10 +38,6 @@
* @author John Wiegley
*
* @ingroup report
*
* @brief Brief
*
* Long.
*/
#ifndef _DERIVE_H
#define _DERIVE_H

View file

@ -38,10 +38,6 @@
* @author John Wiegley
*
* @ingroup report
*
* @brief Brief
*
* Long.
*/
#ifndef _EMACS_H
#define _EMACS_H
@ -52,11 +48,6 @@ namespace ledger {
class xact_t;
/**
* @brief Brief
*
* Long.
*/
class format_emacs_posts : public item_handler<post_t>
{
format_emacs_posts();

View file

@ -38,10 +38,6 @@
* @author John Wiegley
*
* @ingroup util
*
* @brief Brief
*
* Long.
*/
#ifndef _ERROR_H
#define _ERROR_H

View file

@ -38,10 +38,6 @@
* @author John Wiegley
*
* @ingroup expr
*
* @brief Brief
*
* Long.
*/
#ifndef _EXPR_H
#define _EXPR_H
@ -60,11 +56,6 @@ class call_scope_t;
typedef function<value_t (call_scope_t&)> function_t;
/**
* @brief Brief
*
* Long.
*/
class expr_t
{
struct token_t;

View file

@ -38,10 +38,6 @@
* @author John Wiegley
*
* @ingroup report
*
* @brief Brief
*
* Long.
*/
#ifndef _FILTERS_H
#define _FILTERS_H
@ -59,11 +55,6 @@ namespace ledger {
// Posting filters
//
/**
* @brief Brief
*
* Long.
*/
class ignore_posts : public item_handler<post_t>
{
public:
@ -72,11 +63,6 @@ public:
class posts_iterator;
/**
* @brief Brief
*
* Long.
*/
class pass_down_posts : public item_handler<post_t>
{
pass_down_posts();
@ -89,11 +75,6 @@ public:
}
};
/**
* @brief Brief
*
* Long.
*/
class push_to_posts_list : public item_handler<post_t>
{
push_to_posts_list();
@ -113,11 +94,6 @@ public:
}
};
/**
* @brief Brief
*
* Long.
*/
class truncate_xacts : public item_handler<post_t>
{
int head_count;
@ -145,11 +121,6 @@ public:
virtual void operator()(post_t& post);
};
/**
* @brief Brief
*
* Long.
*/
class sort_posts : public item_handler<post_t>
{
typedef std::deque<post_t *> posts_deque;
@ -190,11 +161,6 @@ public:
}
};
/**
* @brief Brief
*
* Long.
*/
class sort_xacts : public item_handler<post_t>
{
sort_posts sorter;
@ -234,11 +200,6 @@ public:
}
};
/**
* @brief Brief
*
* Long.
*/
class filter_posts : public item_handler<post_t>
{
item_predicate pred;
@ -267,11 +228,6 @@ public:
}
};
/**
* @brief Brief
*
* Long.
*/
class anonymize_posts : public item_handler<post_t>
{
temporaries_t temps;
@ -291,11 +247,6 @@ public:
virtual void operator()(post_t& post);
};
/**
* @brief Brief
*
* Long.
*/
class calc_posts : public item_handler<post_t>
{
post_t * last_post;
@ -319,11 +270,6 @@ public:
virtual void operator()(post_t& post);
};
/**
* @brief Brief
*
* Long.
*/
class collapse_posts : public item_handler<post_t>
{
expr_t& amount_expr;
@ -368,11 +314,6 @@ public:
virtual void operator()(post_t& post);
};
/**
* @brief Brief
*
* Long.
*/
class related_posts : public item_handler<post_t>
{
posts_list posts;
@ -399,11 +340,6 @@ public:
}
};
/**
* @brief Brief
*
* Long.
*/
class changed_value_posts : public item_handler<post_t>
{
// This filter requires that calc_posts be used at some point
@ -451,11 +387,6 @@ public:
virtual void operator()(post_t& post);
};
/**
* @brief Brief
*
* Long.
*/
class subtotal_posts : public item_handler<post_t>
{
subtotal_posts();
@ -517,11 +448,6 @@ public:
virtual void operator()(post_t& post);
};
/**
* @brief Brief
*
* Long.
*/
class interval_posts : public subtotal_posts
{
date_interval_t interval;
@ -590,11 +516,6 @@ public:
}
};
/**
* @brief Brief
*
* Long.
*/
class by_payee_posts : public item_handler<post_t>
{
typedef std::map<string, shared_ptr<subtotal_posts> > payee_subtotals_map;
@ -618,11 +539,6 @@ class by_payee_posts : public item_handler<post_t>
virtual void operator()(post_t& post);
};
/**
* @brief Brief
*
* Long.
*/
class transfer_details : public item_handler<post_t>
{
account_t * master;
@ -655,11 +571,6 @@ public:
virtual void operator()(post_t& post);
};
/**
* @brief Brief
*
* Long.
*/
class dow_posts : public subtotal_posts
{
posts_list days_of_the_week[7];
@ -681,11 +592,6 @@ public:
}
};
/**
* @brief Brief
*
* Long.
*/
class generate_posts : public item_handler<post_t>
{
generate_posts();
@ -712,11 +618,6 @@ public:
virtual void add_post(const date_interval_t& period, post_t& post);
};
/**
* @brief Brief
*
* Long.
*/
class budget_posts : public generate_posts
{
#define BUDGET_NO_BUDGET 0x00
@ -743,11 +644,6 @@ public:
virtual void operator()(post_t& post);
};
/**
* @brief Brief
*
* Long.
*/
class forecast_posts : public generate_posts
{
item_predicate pred;
@ -779,11 +675,6 @@ class forecast_posts : public generate_posts
class accounts_iterator;
/**
* @brief Brief
*
* Long.
*/
class pass_down_accounts : public item_handler<account_t>
{
pass_down_accounts();

View file

@ -38,20 +38,11 @@
* @author John Wiegley
*
* @ingroup util
*
* @brief Brief
*
* Long.
*/
#ifndef _FLAGS_H
#define _FLAGS_H
/**
* @brief Brief
*
* Long.
*/
template <typename T = boost::uint_least8_t, typename U = T>
class supports_flags
{
@ -112,11 +103,6 @@ private:
#endif // HAVE_BOOST_SERIALIZATION
};
/**
* @brief Brief
*
* Long.
*/
template <typename T = boost::uint_least8_t, typename U = T>
class basic_flags_t : public supports_flags<T, U>
{
@ -168,11 +154,6 @@ public:
}
};
/**
* @brief Brief
*
* Long.
*/
template <typename T = boost::uint_least8_t>
class delegates_flags : public boost::noncopyable
{

View file

@ -38,10 +38,6 @@
* @author John Wiegley
*
* @ingroup expr
*
* @brief Brief
*
* Long.
*/
#ifndef _FORMAT_H
#define _FORMAT_H
@ -54,11 +50,6 @@ class unistring;
DECLARE_EXCEPTION(format_error, std::runtime_error);
/**
* @brief Brief
*
* Long.
*/
class format_t : public noncopyable
{
struct element_t : public supports_flags<>

View file

@ -38,10 +38,6 @@
* @author John Wiegley
*
* @ingroup report
*
* @brief Brief
*
* Long.
*/
#ifndef _GENERATE_H
#define _GENERATE_H

View file

@ -38,20 +38,10 @@
* @author John Wiegley
*
* @ingroup util
*
* @brief Brief
*
* Long.
*/
#ifndef _HOOKS_H
#define _HOOKS_H
/**
* @brief Brief
*
* Long.
*/
template <typename T, typename Data>
class hooks_t : public boost::noncopyable
{

View file

@ -38,10 +38,6 @@
* @author John Wiegley
*
* @ingroup expr
*
* @brief Brief
*
* Long.
*/
#ifndef _INTERACTIVE_H
#define _INTERACTIVE_H
@ -50,11 +46,6 @@
namespace ledger {
/**
* @brief Brief
*
* Long.
*/
class interactive_t : public noncopyable
{
call_scope_t& args;

View file

@ -38,10 +38,6 @@
* @author John Wiegley
*
* @ingroup data
*
* @brief Brief
*
* Long.
*/
#ifndef _ITEM_H
#define _ITEM_H
@ -97,11 +93,6 @@ private:
#endif // HAVE_BOOST_SERIALIZATION
};
/**
* @brief Brief
*
* Long.
*/
class item_t : public supports_flags<>, public scope_t
{
public:

View file

@ -38,10 +38,6 @@
* @author John Wiegley
*
* @ingroup data
*
* @brief Brief
*
* Long.
*/
#ifndef _ITERATORS_H
#define _ITERATORS_H
@ -55,11 +51,6 @@ namespace ledger {
class journal_t;
/**
* @brief Brief
*
* Long.
*/
class posts_iterator : public noncopyable
{
public:
@ -67,11 +58,6 @@ public:
virtual post_t * operator()() = 0;
};
/**
* @brief Brief
*
* Long.
*/
class xact_posts_iterator : public posts_iterator
{
posts_list::iterator posts_i;
@ -106,11 +92,6 @@ public:
}
};
/**
* @brief Brief
*
* Long.
*/
class xacts_iterator : public noncopyable
{
public:
@ -135,11 +116,6 @@ public:
xact_t * operator()();
};
/**
* @brief Brief
*
* Long.
*/
class journal_posts_iterator : public posts_iterator
{
xacts_iterator xacts;
@ -162,11 +138,6 @@ public:
virtual post_t * operator()();
};
/**
* @brief Brief
*
* Long.
*/
class posts_commodities_iterator : public posts_iterator
{
protected:
@ -193,11 +164,6 @@ public:
virtual post_t * operator()();
};
/**
* @brief Brief
*
* Long.
*/
class accounts_iterator : public noncopyable
{
public:
@ -205,11 +171,6 @@ public:
virtual account_t * operator()() = 0;
};
/**
* @brief Brief
*
* Long.
*/
class basic_accounts_iterator : public accounts_iterator
{
std::list<accounts_map::const_iterator> accounts_i;
@ -235,11 +196,6 @@ public:
virtual account_t * operator()();
};
/**
* @brief Brief
*
* Long.
*/
class sorted_accounts_iterator : public accounts_iterator
{
expr_t sort_cmp;

View file

@ -38,10 +38,6 @@
* @author John Wiegley
*
* @ingroup data
*
* @brief Brief
*
* Long.
*/
#ifndef _JOURNAL_H
#define _JOURNAL_H
@ -64,11 +60,6 @@ typedef std::list<xact_t *> xacts_list;
typedef std::list<auto_xact_t *> auto_xacts_list;
typedef std::list<period_xact_t *> period_xacts_list;
/**
* @brief Brief
*
* Long.
*/
class journal_t : public noncopyable
{
public:

View file

@ -51,11 +51,6 @@
namespace ledger {
/**
* @brief Brief
*
* Long.
*/
class mask_t
{
public:

View file

@ -38,10 +38,6 @@
* @author John Wiegley
*
* @ingroup expr
*
* @brief Brief
*
* Long.
*/
#ifndef _OP_H
#define _OP_H
@ -50,11 +46,6 @@
namespace ledger {
/**
* @brief Brief
*
* Long.
*/
class expr_t::op_t : public noncopyable
{
friend class expr_t;

View file

@ -38,10 +38,6 @@
* @author John Wiegley
*
* @ingroup expr
*
* @brief Brief
*
* Long.
*/
#ifndef _OPTION_H
#define _OPTION_H

View file

@ -38,10 +38,6 @@
* @author John Wiegley
*
* @ingroup report
*
* @brief Brief
*
* Long.
*/
#ifndef _OUTPUT_H
#define _OUTPUT_H
@ -57,11 +53,6 @@ class xact_t;
class post_t;
class report_t;
/**
* @brief Brief
*
* Long.
*/
class format_posts : public item_handler<post_t>
{
protected:
@ -84,11 +75,6 @@ public:
virtual void operator()(post_t& post);
};
/**
* @brief Brief
*
* Long.
*/
class format_accounts : public item_handler<account_t>
{
protected:

View file

@ -38,10 +38,6 @@
* @author John Wiegley
*
* @ingroup expr
*
* @brief Brief
*
* Long.
*/
#ifndef _PARSER_H
#define _PARSER_H
@ -51,11 +47,6 @@
namespace ledger {
/**
* @brief Brief
*
* Long.
*/
class expr_t::parser_t : public noncopyable
{
public:

View file

@ -48,11 +48,6 @@
namespace ledger {
/**
* @brief Brief
*
* Long.
*/
struct cost_breakdown_t
{
amount_t amount;
@ -60,11 +55,6 @@ struct cost_breakdown_t
amount_t basis_cost;
};
/**
* @brief Brief
*
* Long.
*/
class commodity_pool_t : public noncopyable
{
/**

View file

@ -38,10 +38,6 @@
* @author John Wiegley
*
* @ingroup data
*
* @brief Brief
*
* Long.
*/
#ifndef _POST_H
#define _POST_H
@ -53,11 +49,6 @@ namespace ledger {
class xact_t;
class account_t;
/**
* @brief Brief
*
* Long.
*/
class post_t : public item_t
{
public:

View file

@ -38,10 +38,6 @@
* @author John Wiegley
*
* @ingroup report
*
* @brief Brief
*
* Long.
*/
#ifndef _PRECMD_H
#define _PRECMD_H

View file

@ -38,10 +38,6 @@
* @author John Wiegley
*
* @ingroup expr
*
* @brief Brief
*
* Long.
*/
#ifndef _PREDICATE_H
#define _PREDICATE_H
@ -52,11 +48,6 @@
namespace ledger {
/**
* @brief Brief
*
* Long.
*/
class item_predicate
{
public:

View file

@ -38,10 +38,6 @@
* @author John Wiegley
*
* @ingroup util
*
* @brief Brief
*
* Full
*/
#ifndef _PSTREAM_H
#define _PSTREAM_H

View file

@ -38,10 +38,6 @@
* @author John Wiegley
*
* @ingroup extra
*
* @brief Brief
*
* Long.
*/
#ifndef _QUOTES_H
#define _QUOTES_H

View file

@ -38,10 +38,6 @@
* @author John Wiegley
*
* @ingroup report
*
* @brief Brief
*
* Long.
*/
#ifndef _REPORT_H
#define _REPORT_H
@ -104,11 +100,6 @@ class xact_t;
// says that the formatter should be "flushed" after the entities are
// iterated. This does not happen for the commodities iteration, however.
/**
* @brief Brief
*
* Long.
*/
class report_t : public scope_t
{
report_t();

View file

@ -38,10 +38,6 @@
* @author John Wiegley
*
* @ingroup expr
*
* @brief Brief
*
* Long.
*/
#ifndef _SCOPE_H
#define _SCOPE_H
@ -50,11 +46,6 @@
namespace ledger {
/**
* @brief Brief
*
* Long.
*/
struct symbol_t
{
enum kind_t {
@ -105,11 +96,6 @@ private:
#endif // HAVE_BOOST_SERIALIZATION
};
/**
* @brief Brief
*
* Long.
*/
class scope_t
{
public:
@ -138,11 +124,6 @@ private:
#endif // HAVE_BOOST_SERIALIZATION
};
/**
* @brief Brief
*
* Long.
*/
class child_scope_t : public noncopyable, public scope_t
{
public:
@ -186,11 +167,6 @@ private:
#endif // HAVE_BOOST_SERIALIZATION
};
/**
* @brief Brief
*
* Long.
*/
class symbol_scope_t : public child_scope_t
{
typedef std::map<symbol_t, expr_t::ptr_op_t> symbol_map;
@ -228,11 +204,6 @@ private:
#endif // HAVE_BOOST_SERIALIZATION
};
/**
* @brief Brief
*
* Long.
*/
class call_scope_t : public child_scope_t
{
value_t args;
@ -301,11 +272,6 @@ private:
#endif // HAVE_BOOST_SERIALIZATION
};
/**
* @brief Brief
*
* Long.
*/
class bind_scope_t : public child_scope_t
{
bind_scope_t();
@ -349,11 +315,6 @@ private:
#endif // HAVE_BOOST_SERIALIZATION
};
/**
* @brief Brief
*
* Long.
*/
template <typename T>
T * search_scope(scope_t * ptr)
{

View file

@ -38,10 +38,6 @@
* @author John Wiegley
*
* @ingroup report
*
* @brief Brief
*
* Long.
*/
#ifndef _SESSION_H
#define _SESSION_H
@ -57,11 +53,6 @@ namespace ledger {
class commodity_pool_t;
class xact_t;
/**
* @brief Brief
*
* Long.
*/
class session_t : public symbol_scope_t
{
friend void set_session_context(session_t * session);

View file

@ -38,10 +38,6 @@
* @author John Wiegley
*
* @ingroup report
*
* @brief Brief
*
* Long.
*/
#ifndef _STATS_H
#define _STATS_H

View file

@ -38,10 +38,6 @@
* @author John Wiegley
*
* @ingroup report
*
* @brief Brief
*
* Long.
*/
#ifndef _TEMPS_H
#define _TEMPS_H

View file

@ -38,10 +38,6 @@
* @author John Wiegley
*
* @ingroup data
*
* @brief Brief
*
* Long.
*/
#ifndef _TIMELOG_H
#define _TIMELOG_H
@ -54,11 +50,6 @@ namespace ledger {
class account_t;
class journal_t;
/**
* @brief Brief
*
* Long.
*/
class time_xact_t
{
public:
@ -85,11 +76,6 @@ public:
}
};
/**
* @brief Brief
*
* Long.
*/
class time_log_t
{
std::list<time_xact_t> time_xacts;

View file

@ -38,10 +38,6 @@
* @author John Wiegley
*
* @ingroup expr
*
* @brief Brief
*
* Long.
*/
#ifndef _TOKEN_H
#define _TOKEN_H
@ -50,11 +46,6 @@
namespace ledger {
/**
* @brief Brief
*
* Long.
*/
struct expr_t::token_t : public noncopyable
{
enum kind_t {

View file

@ -38,15 +38,10 @@
* @author John Wiegley
*
* @ingroup utils
*
* @brief Brief
*
* Long.
*/
#ifndef _UNISTRING_H
#define _UNISTRING_H
namespace ledger {
/**

View file

@ -165,8 +165,6 @@ void report_memory(std::ostream& out, bool report_all = false);
#if defined(STRING_VERIFY_ON)
/**
* @brief Brief
*
* This string type is a wrapper around std::string that allows us to
* trace constructor and destructor calls.
*/

View file

@ -38,10 +38,6 @@
* @author John Wiegley
*
* @ingroup data
*
* @brief Brief
*
* Long.
*/
#ifndef _XACT_H
#define _XACT_H
@ -56,11 +52,6 @@ class journal_t;
typedef std::list<post_t *> posts_list;
/**
* @brief Brief
*
* Long.
*/
class xact_base_t : public item_t
{
public:
@ -109,11 +100,6 @@ private:
#endif // HAVE_BOOST_SERIALIZATION
};
/**
* @brief Brief
*
* Long.
*/
class xact_t : public xact_base_t
{
public:
@ -154,21 +140,11 @@ private:
#endif // HAVE_BOOST_SERIALIZATION
};
/**
* @brief Brief
*
* Long.
*/
struct xact_finalizer_t {
virtual ~xact_finalizer_t() {}
virtual bool operator()(xact_t& xact, bool post) = 0;
};
/**
* @brief Brief
*
* Long.
*/
class auto_xact_t : public xact_base_t
{
public:
@ -207,11 +183,6 @@ private:
#endif // HAVE_BOOST_SERIALIZATION
};
/**
* @brief Brief
*
* Long.
*/
struct auto_xact_finalizer_t : public xact_finalizer_t
{
journal_t * journal;
@ -245,11 +216,6 @@ private:
#endif // HAVE_BOOST_SERIALIZATION
};
/**
* @brief Brief
*
* Long.
*/
class period_xact_t : public xact_base_t
{
public:
@ -287,11 +253,6 @@ private:
#endif // HAVE_BOOST_SERIALIZATION
};
/**
* @brief Brief
*
* Long.
*/
class func_finalizer_t : public xact_finalizer_t
{
func_finalizer_t();