Nemiver  0.3
Public Types | Public Member Functions | List of all members
nemiver::GDBMIList Class Reference

A GDB/MI LIST. It can be a list of either GDB/MI Result or GDB/MI Value. More...

#include <nmv-gdbmi-parser.h>

Inheritance diagram for nemiver::GDBMIList:
nemiver::common::Object

Public Types

enum  ContentType { RESULT_TYPE =0, VALUE_TYPE, UNDEFINED_TYPE }
 

Public Member Functions

 GDBMIList ()
 
 GDBMIList (const GDBMITupleSafePtr &a_tuple)
 
 GDBMIList (const UString &a_str)
 
 GDBMIList (const GDBMIResultSafePtr &a_result)
 
 GDBMIList (const GDBMIValueSafePtr &a_value)
 
virtual ~GDBMIList ()
 
ContentType content_type () const
 
bool empty () const
 
void append (const GDBMIResultSafePtr &a_result)
 
void append (const GDBMIValueSafePtr &a_value)
 
void get_result_content (list< GDBMIResultSafePtr > &a_list) const
 
void get_value_content (list< GDBMIValueSafePtr > &a_list) const
 
- Public Member Functions inherited from nemiver::common::Object
 Object ()
 
 Object (Object const &)
 
Objectoperator= (Object const &)
 
virtual ~Object ()
 
void ref ()
 
void unref ()
 
void enable_refcount (bool a_enabled=true)
 
bool is_refcount_enabled () const
 
long get_refcount () const
 
void attach_object (const UString &a_key, const Object *a_object)
 
bool get_attached_object (const UString &a_key, const Object *&a_object)
 

Additional Inherited Members

- Protected Attributes inherited from nemiver::common::Object
SafePtr< ObjectPrivm_priv
 

Detailed Description

A GDB/MI LIST. It can be a list of either GDB/MI Result or GDB/MI Value.

Member Enumeration Documentation

◆ ContentType

Enumerator
RESULT_TYPE 
VALUE_TYPE 
UNDEFINED_TYPE 

Constructor & Destructor Documentation

◆ GDBMIList() [1/5]

nemiver::GDBMIList::GDBMIList ( )
inline

◆ GDBMIList() [2/5]

nemiver::GDBMIList::GDBMIList ( const GDBMITupleSafePtr a_tuple)
inline

◆ GDBMIList() [3/5]

nemiver::GDBMIList::GDBMIList ( const UString a_str)
inline

◆ GDBMIList() [4/5]

nemiver::GDBMIList::GDBMIList ( const GDBMIResultSafePtr a_result)
inline

◆ GDBMIList() [5/5]

nemiver::GDBMIList::GDBMIList ( const GDBMIValueSafePtr a_value)
inline

◆ ~GDBMIList()

virtual nemiver::GDBMIList::~GDBMIList ( )
inlinevirtual

Member Function Documentation

◆ append() [1/2]

void nemiver::GDBMIList::append ( const GDBMIResultSafePtr a_result)
inline

References THROW_IF_FAIL.

◆ append() [2/2]

void nemiver::GDBMIList::append ( const GDBMIValueSafePtr a_value)
inline

References THROW_IF_FAIL.

◆ content_type()

ContentType nemiver::GDBMIList::content_type ( ) const
inline

◆ empty()

bool nemiver::GDBMIList::empty ( ) const
inline

◆ get_result_content()

void nemiver::GDBMIList::get_result_content ( list< GDBMIResultSafePtr > &  a_list) const
inline

References THROW_IF_FAIL.

◆ get_value_content()

void nemiver::GDBMIList::get_value_content ( list< GDBMIValueSafePtr > &  a_list) const
inline

References THROW_IF_FAIL.


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