logo top
Main Page   Widgets   glibmm Namespaces   Book  

Glib::MatchInfo Class Reference

TODO. More...

List of all members.

Public Member Functions

 MatchInfo ()
 MatchInfo (GMatchInfo* gobject, bool make_a_copy=true)
 MatchInfo (const MatchInfo& other)
MatchInfooperator= (const MatchInfo& other)
 ~MatchInfo ()
void swap (MatchInfo& other)
GMatchInfo* gobj ()
 Provides access to the underlying C instance.
const GMatchInfo* gobj () const
 Provides access to the underlying C instance.
GMatchInfo* gobj_copy () const
 Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs.
Glib::RefPtr<Regexget_regex ()
Glib::RefPtr<const Regexget_regex () const
Glib::ustring get_string () const
bool next ()
bool matches () const
int get_match_count () const
bool is_partial_match () const
Glib::ustring expand_references (const Glib::ustring& string_to_expand) const
Glib::ustring fetch (int match_num) const
bool fetch_pos (int match_num, int& start_pos, int& end_pos) const
Glib::ustring fetch_named (const Glib::ustring& name) const
bool fetch_named_pos (const Glib::ustring& name, int& start_pos, int& end_pos) const
Glib::StringArrayHandle fetch_all () const

Protected Attributes

GMatchInfo* gobject_

Related Functions

(Note that these are not member functions.)

void swap (MatchInfo& lhs, MatchInfo& rhs)
 
Parameters:
lhs The left-hand side

Glib::MatchInfo wrap (GMatchInfo* object, bool take_copy=false)
 A Glib::wrap() method for this object.


Detailed Description

TODO.


Constructor & Destructor Documentation

Glib::MatchInfo::MatchInfo (  ) 

Glib::MatchInfo::MatchInfo ( GMatchInfo *  gobject,
bool  make_a_copy = true 
) [explicit]

Glib::MatchInfo::MatchInfo ( const MatchInfo other  ) 

Glib::MatchInfo::~MatchInfo (  ) 


Member Function Documentation

MatchInfo& Glib::MatchInfo::operator= ( const MatchInfo other  ) 

void Glib::MatchInfo::swap ( MatchInfo other  ) 

GMatchInfo* Glib::MatchInfo::gobj (  )  [inline]

Provides access to the underlying C instance.

const GMatchInfo* Glib::MatchInfo::gobj (  )  const [inline]

Provides access to the underlying C instance.

GMatchInfo* Glib::MatchInfo::gobj_copy (  )  const

Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs.

Glib::RefPtr<Regex> Glib::MatchInfo::get_regex (  ) 

Glib::RefPtr<const Regex> Glib::MatchInfo::get_regex (  )  const

Glib::ustring Glib::MatchInfo::get_string (  )  const

bool Glib::MatchInfo::next (  ) 

bool Glib::MatchInfo::matches (  )  const

int Glib::MatchInfo::get_match_count (  )  const

bool Glib::MatchInfo::is_partial_match (  )  const

Glib::ustring Glib::MatchInfo::expand_references ( const Glib::ustring string_to_expand  )  const

Glib::ustring Glib::MatchInfo::fetch ( int  match_num  )  const

bool Glib::MatchInfo::fetch_pos ( int  match_num,
int &  start_pos,
int &  end_pos 
) const

Glib::ustring Glib::MatchInfo::fetch_named ( const Glib::ustring name  )  const

bool Glib::MatchInfo::fetch_named_pos ( const Glib::ustring name,
int &  start_pos,
int &  end_pos 
) const

Glib::StringArrayHandle Glib::MatchInfo::fetch_all (  )  const


Friends And Related Function Documentation

void swap ( MatchInfo lhs,
MatchInfo rhs 
) [related]

Parameters:
lhs The left-hand side

Parameters:
rhs The right-hand side

Glib::MatchInfo wrap ( GMatchInfo *  object,
bool  take_copy = false 
) [related]

A Glib::wrap() method for this object.

Parameters:
object The C instance.
take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
Returns:
A C++ instance that wraps this C instance.


Member Data Documentation

GMatchInfo* Glib::MatchInfo::gobject_ [protected]


The documentation for this class was generated from the following file:
Generated for glibmm 2.4 by Doxygen 1.5.1 © 1997-2001