summaryrefslogtreecommitdiff
path: root/docs/man/man3/Extensible.3
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-09 20:21:39 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-09 20:21:39 +0000
commitbab9f4b4bc0f6aa0e1377745fd216ef9874b3f27 (patch)
tree816b86525dc3e6f84a81adb0c8744b4c4798e792 /docs/man/man3/Extensible.3
parenta96341b150898376a1b01c7fb4519e1265c599b6 (diff)
Added new module docs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2301 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'docs/man/man3/Extensible.3')
-rw-r--r--docs/man/man3/Extensible.325
1 files changed, 22 insertions, 3 deletions
diff --git a/docs/man/man3/Extensible.3 b/docs/man/man3/Extensible.3
index 4f918482c..6c291ce75 100644
--- a/docs/man/man3/Extensible.3
+++ b/docs/man/man3/Extensible.3
@@ -1,4 +1,4 @@
-.TH "Extensible" 3 "27 Nov 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
+.TH "Extensible" 3 "9 Dec 2005" "Version 1.0Betareleases" "InspIRCd" \" -*- nroff -*-
.ad l
.nh
.SH NAME
@@ -29,6 +29,10 @@ Inherited by \fBchanrec\fP, \fBcommand_t\fP, and \fBconnection\fP.
.RI "char * \fBGetExt\fP (\fBstd::string\fP key)"
.br
.RI "\fIGet an extension item. \fP"
+.ti -1c
+.RI "void \fBGetExtList\fP (std::deque< \fBstd::string\fP > &\fBlist\fP)"
+.br
+.RI "\fIGet a list of all extension items names. \fP"
.in -1c
.SS "Private Attributes"
@@ -44,7 +48,7 @@ class Extensible is the parent class of many classes such as userrec and chanrec
class Extensible implements a system which allows modules to 'extend' the class by attaching data within a map associated with the object. In this way modules can store their own custom information within user objects, channel objects and server objects, without breaking other modules (this is more sensible than using a flags variable, and each module defining bits within the flag as 'theirs' as it is less prone to conflict and supports arbitary data storage).
.PP
-Definition at line 50 of file base.h.
+Definition at line 51 of file base.h.
.SH "Member Function Documentation"
.PP
.SS "bool Extensible::Extend (\fBstd::string\fP key, char * p)"
@@ -81,6 +85,21 @@ If you provide a non-existent key name, the function returns NULL, otherwise a p
.RE
.PP
+.SS "void Extensible::GetExtList (std::deque< \fBstd::string\fP > & list)"
+.PP
+Get a list of all extension items names.
+.PP
+\fBParameters:\fP
+.RS 4
+\fIlist\fP A deque of strings to receive the list
+.RE
+.PP
+\fBReturns:\fP
+.RS 4
+This function writes a list of all extension items stored in this object by name into the given deque and returns void.
+.RE
+.PP
+
.SS "bool Extensible::Shrink (\fBstd::string\fP key)"
.PP
Shrink an Extensible class.
@@ -104,7 +123,7 @@ Returns true on success.
.PP
Private data store.
.PP
-Definition at line 54 of file base.h.
+Definition at line 55 of file base.h.
.SH "Author"
.PP