GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave::tree_classdef_body Class Reference

#include "pt-classdef.h"

Collaboration diagram for octave::tree_classdef_body:

Public Types

typedef std::list< tree_classdef_enum_block * >::const_iterator enum_list_const_iterator
 
typedef std::list< tree_classdef_enum_block * >::iterator enum_list_iterator
 
typedef std::list< tree_classdef_events_block * >::const_iterator events_list_const_iterator
 
typedef std::list< tree_classdef_events_block * >::iterator events_list_iterator
 
typedef std::list< tree_classdef_methods_block * >::const_iterator methods_list_const_iterator
 
typedef std::list< tree_classdef_methods_block * >::iterator methods_list_iterator
 
typedef std::list< tree_classdef_properties_block * >::const_iterator properties_list_const_iterator
 
typedef std::list< tree_classdef_properties_block * >::iterator properties_list_iterator
 

Public Member Functions

 tree_classdef_body (const tree_classdef_body &)=delete
 
 tree_classdef_body (tree_classdef_enum_block *enb)
 
 tree_classdef_body (tree_classdef_events_block *evb)
 
 tree_classdef_body (tree_classdef_methods_block *mb)
 
 tree_classdef_body (tree_classdef_properties_block *pb)
 
 tree_classdef_body (void)
 
 ~tree_classdef_body (void)
 
void accept (tree_walker &tw)
 
void append (tree_classdef_enum_block *enb)
 
void append (tree_classdef_events_block *evb)
 
void append (tree_classdef_methods_block *mb)
 
void append (tree_classdef_properties_block *pb)
 
void doc_string (const std::string &txt)
 
std::string doc_string (void) const
 
std::list< tree_classdef_enum_block * > enum_list (void)
 
std::list< tree_classdef_events_block * > events_list (void)
 
bool have_doc_string (void) const
 
std::list< tree_classdef_methods_block * > methods_list (void)
 
tree_classdef_bodyoperator= (const tree_classdef_body &)=delete
 
std::list< tree_classdef_properties_block * > properties_list (void)
 

Private Member Functions

std::string get_doc_string (comment_list *comment) const
 

Private Attributes

std::string m_doc_string
 
std::list< tree_classdef_enum_block * > m_enum_lst
 
std::list< tree_classdef_events_block * > m_events_lst
 
std::list< tree_classdef_methods_block * > m_methods_lst
 
std::list< tree_classdef_properties_block * > m_properties_lst
 

Detailed Description

Definition at line 659 of file pt-classdef.h.

Member Typedef Documentation

◆ enum_list_const_iterator

Definition at line 679 of file pt-classdef.h.

◆ enum_list_iterator

Definition at line 677 of file pt-classdef.h.

◆ events_list_const_iterator

Definition at line 675 of file pt-classdef.h.

◆ events_list_iterator

Definition at line 673 of file pt-classdef.h.

◆ methods_list_const_iterator

Definition at line 671 of file pt-classdef.h.

◆ methods_list_iterator

Definition at line 669 of file pt-classdef.h.

◆ properties_list_const_iterator

Definition at line 666 of file pt-classdef.h.

◆ properties_list_iterator

Constructor & Destructor Documentation

◆ tree_classdef_body() [1/6]

octave::tree_classdef_body::tree_classdef_body ( void  )

Definition at line 218 of file pt-classdef.cc.

◆ tree_classdef_body() [2/6]

octave::tree_classdef_body::tree_classdef_body ( tree_classdef_properties_block pb)

Definition at line 222 of file pt-classdef.cc.

References append().

◆ tree_classdef_body() [3/6]

octave::tree_classdef_body::tree_classdef_body ( tree_classdef_methods_block mb)

Definition at line 229 of file pt-classdef.cc.

References append().

◆ tree_classdef_body() [4/6]

octave::tree_classdef_body::tree_classdef_body ( tree_classdef_events_block evb)

Definition at line 236 of file pt-classdef.cc.

References append().

◆ tree_classdef_body() [5/6]

octave::tree_classdef_body::tree_classdef_body ( tree_classdef_enum_block enb)

Definition at line 243 of file pt-classdef.cc.

References append().

◆ tree_classdef_body() [6/6]

octave::tree_classdef_body::tree_classdef_body ( const tree_classdef_body )
delete

◆ ~tree_classdef_body()

octave::tree_classdef_body::~tree_classdef_body ( void  )

Definition at line 250 of file pt-classdef.cc.

References m_enum_lst, m_events_lst, m_methods_lst, and m_properties_lst.

Member Function Documentation

◆ accept()

void octave::tree_classdef_body::accept ( tree_walker tw)
inline

Definition at line 745 of file pt-classdef.h.

References octave::tree_walker::visit_classdef_body().

◆ append() [1/4]

void octave::tree_classdef_body::append ( tree_classdef_enum_block enb)
inline

Definition at line 714 of file pt-classdef.h.

References m_enum_lst.

◆ append() [2/4]

void octave::tree_classdef_body::append ( tree_classdef_events_block evb)
inline

Definition at line 709 of file pt-classdef.h.

References m_events_lst.

◆ append() [3/4]

void octave::tree_classdef_body::append ( tree_classdef_methods_block mb)
inline

Definition at line 704 of file pt-classdef.h.

References m_methods_lst.

◆ append() [4/4]

void octave::tree_classdef_body::append ( tree_classdef_properties_block pb)
inline

Definition at line 699 of file pt-classdef.h.

References m_properties_lst.

Referenced by tree_classdef_body().

◆ doc_string() [1/2]

void octave::tree_classdef_body::doc_string ( const std::string &  txt)
inline

Definition at line 739 of file pt-classdef.h.

References m_doc_string.

Referenced by octave::tree_classdef::doc_string().

◆ doc_string() [2/2]

std::string octave::tree_classdef_body::doc_string ( void  ) const
inline

Definition at line 741 of file pt-classdef.h.

References m_doc_string.

◆ enum_list()

std::list<tree_classdef_enum_block *> octave::tree_classdef_body::enum_list ( void  )
inline

Definition at line 734 of file pt-classdef.h.

References m_enum_lst.

◆ events_list()

std::list<tree_classdef_events_block *> octave::tree_classdef_body::events_list ( void  )
inline

Definition at line 729 of file pt-classdef.h.

References m_events_lst.

◆ get_doc_string()

std::string octave::tree_classdef_body::get_doc_string ( comment_list comment) const
private

◆ have_doc_string()

bool octave::tree_classdef_body::have_doc_string ( void  ) const
inline

Definition at line 743 of file pt-classdef.h.

References m_doc_string.

◆ methods_list()

std::list<tree_classdef_methods_block *> octave::tree_classdef_body::methods_list ( void  )
inline

Definition at line 724 of file pt-classdef.h.

References m_methods_lst.

Referenced by octave::cdef_class::make_meta_class().

◆ operator=()

tree_classdef_body& octave::tree_classdef_body::operator= ( const tree_classdef_body )
delete

◆ properties_list()

std::list<tree_classdef_properties_block *> octave::tree_classdef_body::properties_list ( void  )
inline

Definition at line 719 of file pt-classdef.h.

References m_properties_lst.

Referenced by octave::cdef_class::make_meta_class().

Member Data Documentation

◆ m_doc_string

std::string octave::tree_classdef_body::m_doc_string
private

Definition at line 762 of file pt-classdef.h.

Referenced by doc_string(), and have_doc_string().

◆ m_enum_lst

std::list<tree_classdef_enum_block *> octave::tree_classdef_body::m_enum_lst
private

Definition at line 760 of file pt-classdef.h.

Referenced by ~tree_classdef_body(), append(), and enum_list().

◆ m_events_lst

std::list<tree_classdef_events_block *> octave::tree_classdef_body::m_events_lst
private

Definition at line 758 of file pt-classdef.h.

Referenced by ~tree_classdef_body(), append(), and events_list().

◆ m_methods_lst

std::list<tree_classdef_methods_block *> octave::tree_classdef_body::m_methods_lst
private

Definition at line 756 of file pt-classdef.h.

Referenced by ~tree_classdef_body(), append(), and methods_list().

◆ m_properties_lst

std::list<tree_classdef_properties_block *> octave::tree_classdef_body::m_properties_lst
private

Definition at line 754 of file pt-classdef.h.

Referenced by ~tree_classdef_body(), append(), and properties_list().


The documentation for this class was generated from the following files: