System::Text::RegularExpressions::GroupCollection class
Contents
[
Hide
]GroupCollection class
List of capture groups in a single match. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
class GroupCollection : public System::Collections::Generic::List<GroupPtr>
Methods
Method | Description |
---|---|
Add(const GroupPtr&) override | Disables adding element into collection. |
AddGroup(const GroupPtr&) | Adds group into collection. |
Clear() override | Disables dropping elements from collection. |
get_Item(int) const | Group accessor. |
get_Item(const String&) const | Group accessor. |
GroupCollection(const WeakPtr<Match>&) | Constructor. |
virtual idx_get(String) const | Group accessor. |
idx_get(int) const override | Group accessor. |
IsReadOnly() const | Marks collection as read-only. |
operator[](const String&) const | Group accessor. |
Remove(const GroupPtr&) override | Disables removing element from collection. |
Typedefs
Typedef | Description |
---|---|
Base | Base class. |
See Also
- Class List
- Namespace System::Text::RegularExpressions
- Library Aspose.PUB for C++