![]() |
![]() |
Public Member Functions | ||||
MatchInfo () | ||||
MatchInfo (GMatchInfo* gobject, bool make_a_copy=true) | ||||
MatchInfo (const MatchInfo& other) | ||||
MatchInfo& | operator= (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<Regex> | get_regex () | |||
Glib::RefPtr<const Regex> | get_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) | |||
| ||||
Glib::MatchInfo | wrap (GMatchInfo* object, bool take_copy=false) | |||
A Glib::wrap() method for this object. |
Glib::MatchInfo::MatchInfo | ( | ) |
Glib::MatchInfo::MatchInfo | ( | GMatchInfo * | gobject, | |
bool | make_a_copy = true | |||
) | [explicit] |
Glib::MatchInfo::MatchInfo | ( | const MatchInfo& | other | ) |
Glib::MatchInfo::~MatchInfo | ( | ) |
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 |
lhs | The left-hand side |
rhs | The right-hand side |
Glib::MatchInfo wrap | ( | GMatchInfo * | object, | |
bool | take_copy = false | |||
) | [related] |
A Glib::wrap() method for this object.
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. |
GMatchInfo* Glib::MatchInfo::gobject_ [protected] |