#include "comment-list.h"
Public Member Functions | |
octave_comment_buffer (void) | |
~octave_comment_buffer (void) | |
Static Public Member Functions | |
static void | append (const std::string &s, octave_comment_elt::comment_type t=octave_comment_elt::unknown) |
static octave_comment_list * | get_comment (void) |
static bool | instance_ok (void) |
Private Member Functions | |
void | do_append (const std::string &s, octave_comment_elt::comment_type t) |
octave_comment_list * | do_get_comment (void) |
Static Private Member Functions | |
static void | cleanup_instance (void) |
Private Attributes | |
octave_comment_list * | comment_list |
Static Private Attributes | |
static octave_comment_buffer * | instance = 0 |
Definition at line 100 of file comment-list.h.
octave_comment_buffer::octave_comment_buffer | ( | void | ) | [inline] |
Definition at line 105 of file comment-list.h.
Referenced by instance_ok().
octave_comment_buffer::~octave_comment_buffer | ( | void | ) | [inline] |
Definition at line 108 of file comment-list.h.
void octave_comment_buffer::append | ( | const std::string & | s, | |
octave_comment_elt::comment_type | t = octave_comment_elt::unknown | |||
) | [static] |
Definition at line 74 of file comment-list.cc.
References do_append(), instance, and instance_ok().
static void octave_comment_buffer::cleanup_instance | ( | void | ) | [inline, static, private] |
Definition at line 128 of file comment-list.h.
Referenced by instance_ok().
void octave_comment_buffer::do_append | ( | const std::string & | s, | |
octave_comment_elt::comment_type | t | |||
) | [private] |
Definition at line 88 of file comment-list.cc.
References octave_comment_list::append(), and comment_list.
Referenced by append().
octave_comment_list * octave_comment_buffer::do_get_comment | ( | void | ) | [private] |
Definition at line 95 of file comment-list.cc.
References comment_list, and octave_base_list< elt_type >::length().
Referenced by get_comment().
octave_comment_list * octave_comment_buffer::get_comment | ( | void | ) | [static] |
Definition at line 82 of file comment-list.cc.
References do_get_comment(), instance, and instance_ok().
bool octave_comment_buffer::instance_ok | ( | void | ) | [static] |
Definition at line 51 of file comment-list.cc.
References singleton_cleanup_list::add(), cleanup_instance(), error(), instance, and octave_comment_buffer().
Referenced by append(), and get_comment().
Definition at line 124 of file comment-list.h.
Referenced by do_append(), and do_get_comment().
octave_comment_buffer * octave_comment_buffer::instance = 0 [static, private] |
Definition at line 126 of file comment-list.h.
Referenced by append(), get_comment(), and instance_ok().