Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes

octave_comment_buffer Class Reference

#include "comment-list.h"

Collaboration diagram for octave_comment_buffer:
Collaboration graph

List of all members.

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_listget_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_listdo_get_comment (void)

Static Private Member Functions

static void cleanup_instance (void)

Private Attributes


Static Private Attributes

static octave_comment_bufferinstance = 0

Detailed Description

Definition at line 100 of file comment-list.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

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

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

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

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

References do_get_comment(), instance, and instance_ok().

bool octave_comment_buffer::instance_ok ( void   )  [static]

Member Data Documentation

Definition at line 124 of file comment-list.h.

Referenced by do_append(), and do_get_comment().

Definition at line 126 of file comment-list.h.

Referenced by append(), get_comment(), and instance_ok().

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines