ReferenceElements:Element access - Declares an access specification for class membersElement boostbook - Defines a BoostBook bookElement class - Declares a class or class templateElement class-specialization - A specialization (partial or full) of a class templateElement code - Mimics the code tag in HTMLElement compile-fail-test - A testcase that should fail to compileElement compile-test - A testcase that should compile correctlyElement complexity - The time/space/etc. complexity of a functionElement constructor - Declares a constructor of the enclosing classElement copy-assignment - Declares a copy-assignment operatorElement data-member - Declares a data member of a classElement default - The default value of a function or template parameterElement description - Detailed description of a constructElement destructor - Declares a destructor for the enclosing classElement effects - Declares the side effects of a functionElement enum - Declares an enumeration typeElement enumname - References an enumeration type with the given nameElement enumvalue - A single value of an enumerationElement free-function-group - A set of functions that are grouped together under one nameElement function - Declares a functionElement functionname - References a function with the given nameElement globalname - References a global with the given nameElement header - Declares a C++ header with the given nameElement headername - References a C++ header with the given nameElement if-fails - What it means when a testcase failsElement inherit - Declares a base class of the enclosing class or structElement lib - A library dependencyElement library - Top-level element for a libraryElement library-reference - Declares the reference material for a libraryElement librarycategory - Declares that the enclosing library is in this categoryElement librarycategorydef - Defines a new library categoryElement librarycategorylist - Categorized listing of librariesElement libraryinfo - Provides information about a libraryElement librarylist - Placeholder for an alphabetical list of librariesElement libraryname - References a library of the given nameElement librarypurpose - Describes in one short sentence or phrase the purpose of a libraryElement link-fail-test - Declares a test that should compile but fail to linkElement link-test - Declares a test that should compile and linkElement macroname - References a macro with the given nameElement method - Declares a method, i.e., a member functionElement method-group - A set of methods that are grouped together under one nameElement namespace - Declares a namespaceElement notes - Non-normative notes about a function's semanticsElement overloaded-function - An overloaded functionElement overloaded-method - An overloaded methodElement parameter - A function parameterElement paramtype - The type of a function parameterElement postconditions - Conditions that must hold after the function returnsElement precondition - Conditions that must be met prior to executing a functionElement programlisting - A sample of program codeElement purpose - A short description of an entity's useElement rationale - Describes the rationale for a particular function's designElement requirement - A requirement/property in the Jamfile for a testcaseElement requires - Declares the requirements of a functionElement returns - Description of the return value of a functionElement run-fail-test - A testcase that should compile and link, but fail on executionElement run-test - A testcase that should compile, link, and executeElement signature - One signature of an overloaded function or methodElement snippet - Pulls in a code snippet from a programlisting elementElement source - Defines source code for a testElement specialization - Defines the specialization arguments for a class specializationElement static-constant - Declares a static constant, e.g., const int foo = 5;.Element struct - Declares a C++ structElement struct-specialization - A specialization (full or partial) of a struct templateElement template - Declares the template parameters of a class or functionElement template-arg - A template argument in a specializationElement template-nontype-parameter - A nontype template parameterElement template-type-parameter - Declares a template type parameterElement template-varargs - Declares a variable-length list of template parametersElement testsuite - Describes a library testsuiteElement throws - Description of the exceptions thrown by a functionElement type - The type of an element or return type of a functionElement typedef - Declares a typedefElement union - Declares a C++ union or union templateElement union-specialization - A specialization (full or partial) of a union templateElement using-class - Injects the method and function names of a class into the local scopeElement using-namespace - Injects the declared names from a namespace into the local scope
BoostBook element class-specialization9class-specializationA specialization (partial or full) of a class templateclass-specialization ::=
(template?, specialization?, inherit?, purpose?, description?, (access| static-constant| typedef| enum| copy-assignment| constructor| destructor| method-group| free-function-group| function| method| overloaded-function| overloaded-method| data-member| class| class-specialization| struct| struct-specialization| union| union-specialization)*)
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesname#REQUIREDCDATAThe name of the element being declared to referencedid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element link-test9link-testDeclares a test that should compile and linklink-test ::=
(source*, lib*, requirement*, purpose, if-fails?)
AttributesNameTypeValuePurposefilename#REQUIREDCDATAThe name of the file associated with this elementname#IMPLIEDCDATAThe name of the element being declared to referenced
BoostBook element link-fail-test9link-fail-testDeclares a test that should compile but fail to linklink-fail-test ::=
(source*, lib*, requirement*, purpose, if-fails?)
AttributesNameTypeValuePurposefilename#REQUIREDCDATAThe name of the file associated with this elementname#IMPLIEDCDATAThe name of the element being declared to referenced
BoostBook element typedef9typedefDeclares a typedeftypedef ::=
(type, purpose?, description?)
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesname#REQUIREDCDATAThe name of the element being declared to referencedid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element static-constant9static-constantDeclares a static constant, e.g., const int foo = 5;.static-constant ::=
(type, default, purpose?, description?)
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesname#REQUIREDCDATAThe name of the element being declared to referencedid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element code9codeMimics the code tag in HTMLcode ::=
(ANY)
DescriptionText within a code tag is generally typeset
in a different, monospaced font so that it stands out as code. The
code tag in BoostBook is transformed directly
into the computeroutput tag in DocBook.AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element destructor9destructorDeclares a destructor for the enclosing classdestructor ::=
(purpose?, description?, requires?, effects?, postconditions?, returns?, throws?, complexity?, notes?, rationale?)
DescriptionGeneral documentation on functions in BoostBook is provided in
the function
element documentation.AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesspecifiers#IMPLIEDCDATAThe specifiers for this function, e.g., inline, static, etc.id#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element template-type-parameter9template-type-parameterDeclares a template type parametertemplate-type-parameter ::=
(default?, purpose?)
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changespack#IMPLIEDCDATASet to '1' if the parameter is a parameter pack.name#REQUIREDCDATAThe name of the element being declared to referencedid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element description9descriptionDetailed description of a constructdescription ::=
(ANY)
DescriptionAlthough the context model for this element is
ANY, detailed descriptions should contain structured
DocBook elements that occur within sections, e.g., paragraphs
(para, simpara), lists
(orderedlist, itemizedlist),
tables (informaltable, table),
etc.AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element librarylist9librarylistPlaceholder for an alphabetical list of librarieslibrarylist ::=
EMPTY
DescriptionDevelopers aren't generally expected to use this element. Its existence is mainly as a placeholder in boost.xml for the alphabetical list of libraries.AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element library-reference9library-referenceDeclares the reference material for a librarylibrary-reference ::=
(title?, section*, (header| library-reference)*)
DescriptionReference documentation for a library is contained with a
<library-reference> element. The <library-reference>
element has no attributes, and contains as children only
<header> elements.The <header> element defines a C++ header file. Within
each C++ header file lie the definitions of C++ constructs to be
documented. The name attribute of the <header>
element gives the name of the header, as one would specify when
including the header. For instance, the <library-reference>
for the Any library may look like
this:<library-reference>
<header name="boost/any.hpp">
<!-- C++ constructs in this header -->
</header>
</library-reference>If the Any library contained
multiple headers, we would list them all as children of the
<library-reference> element.library-reference elements can be nested,
so that reference material can be divided into separate sections
that each contain different headers.AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element boostbook9boostbookDefines a BoostBook bookboostbook ::=
(title, (chapter| library)*)
DescriptionThis element is the topmost level defined by
boost.xml for all Boost documentation. It will
not generally be used by developers.AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element union9unionDeclares a C++ union or union templateunion ::=
(template?, inherit*, purpose?, description?, (access| static-constant| typedef| enum| copy-assignment| constructor| destructor| method-group| free-function-group| function| method| overloaded-function| overloaded-method| data-member| class| class-specialization| struct| struct-specialization| union| union-specialization)*)
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesname#REQUIREDCDATAThe name of the element being declared to referencedid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element inherit9inheritDeclares a base class of the enclosing class or structinherit ::=
(type, purpose?)
DescriptionThis element contains the type of the class inherited.AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesaccess#IMPLIEDCDATAThe access specifier ("public", "private", or "protected") of the inheritance.id#IMPLIEDCDATAA global identifier for this elementpack#IMPLIEDCDATASet to '1' if this is a pack exapansion.xml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element template-varargs9template-varargsDeclares a variable-length list of template parameterstemplate-varargs ::=
EMPTY
DescriptionVariable-length template parameter lists are not allowed in
C++, but because they are sometimes needed in documentation they are
allowed in BoostBook. This element generally expands to "..." and
can be used anywhere any other template parameter can be
used.AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element source9sourceDefines source code for a testsource ::=
(#PCDATA| snippet)*
DescriptionThis element will contain the source code for a testcase that
will be generated from the documentation. To reduce the amount of escaping in the text, it is recommended to use CDATA sections, which look like this:
<![CDATA[
<your program text here: no escaping needed!>
]]>In addition to CDATA sections, code snippets can be pulled in
from programlisting elements using the snippet
element.
BoostBook element function9functionDeclares a functionfunction ::=
(template?, type, parameter*, purpose?, description?, requires?, effects?, postconditions?, returns?, throws?, complexity?, notes?, rationale?)
DescriptionBoostBook functions are documented by specifying the
function's interface (e.g., its C++ signature) and its
behavior. Constructors, destructors, member functions, and free
functions all use the same documentation method, although the
top-level tags differ.The behavior of functions in BoostBook is documenting using a
style similar to that of the C++ standard, with clauses describing
the requirements, effects, postconditions, exception behavior, and
return values of functions.The following example illustrates some constructors and a
destructor for boost::any. Note that one of
the constructors takes a single parameter whose name is "other" and
whose type, const any& is contained in the
<paramtype> element; any number of parameters may be specified
in this way.<class name="any">
<constructor>
<postconditions><para><this->empty()></para></postconditions>
</constructor>
<constructor>
<parameter name="other">
<paramtype>const <classname>any</classname>&</paramtype>
</parameter>
<effects>
<simpara> Copy constructor that copies
content of <code>other</code> into the new instance,
so that any content is equivalent in both type and value to the
content of <code>other</code>, or empty if
<code>other</code> is
empty.
</simpara>
</effects>
<throws>
<simpara>May fail with a
<classname>std::bad_alloc</classname> exception or any
exceptions arising from the copy constructor of the
contained type.
</simpara>
</throws>
</constructor>
<destructor>
<effects><simpara>Releases any and all resources used in
management of instance.</simpara></effects>
<throws><simpara>Nothing.</simpara></throws>
</destructor>
</class>AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesspecifiers#IMPLIEDCDATAThe specifiers for this function, e.g., inline, static, etc.name#REQUIREDCDATAThe name of the element being declared to referencedid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element macroname9macronamemacroname ::=
(#PCDATA)
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesalt#IMPLIEDCDATAid#IMPLIEDCDATAA global identifier for this element
BoostBook element postconditions9postconditionsConditions that must hold after the function returnspostconditions ::=
(ANY)
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element compile-test9compile-testA testcase that should compile correctlycompile-test ::=
(source*, lib*, requirement*, purpose, if-fails?)
AttributesNameTypeValuePurposefilename#REQUIREDCDATAThe name of the file associated with this elementname#IMPLIEDCDATAThe name of the element being declared to referenced
BoostBook element method9methodDeclares a method, i.e., a member functionmethod ::=
(template?, type, parameter*, purpose?, description?, requires?, effects?, postconditions?, returns?, throws?, complexity?, notes?, rationale?)
DescriptionGeneral documentation on functions in BoostBook is provided in
the function
element documentation.AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changescv#IMPLIEDCDATAcv-qualifiers for this method, e.g., const volatilespecifiers#IMPLIEDCDATAThe specifiers for this function, e.g., inline, static, etc.name#REQUIREDCDATAThe name of the element being declared to referencedid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element snippet9snippetPulls in a code snippet from a programlisting elementsnippet ::=
EMPTY
AttributesNameTypeValuePurposename#REQUIREDCDATAThe name of the programlisting element to insert
BoostBook element constructor9constructorDeclares a constructor of the enclosing classconstructor ::=
(template?, parameter*, purpose?, description?, requires?, effects?, postconditions?, returns?, throws?, complexity?, notes?, rationale?)
DescriptionGeneral documentation on functions in BoostBook is provided in
the function
element documentation.AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesspecifiers#IMPLIEDCDATAThe specifiers for this function, e.g., inline, static, etc.id#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element namespace9namespaceDeclares a namespacenamespace ::=
(class| class-specialization| struct| struct-specialization| union| union-specialization| typedef| enum| free-function-group| function| overloaded-function| namespace)*
DescriptionBoostBook namespaces are declared via the <namespace>
element. As in C++, namespaces can be nested and contain other C++
constructs, such as classes or functions. The name
attribute of a <namespace> element gives the namespace name
(e.g., "boost"). The Any library is
defined entirely within namespace boost by:<library-reference>
<header name="boost/any.hpp">
<namespace name="boost">
<!-- C++ constructs in the boost namespace -->
</namespace>
</header>
</library-reference>AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesname#REQUIREDCDATAThe name of the element being declared to referencedid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element if-fails9if-failsWhat it means when a testcase failsif-fails ::=
(ANY)
Description
Describes to the user the effect a certain failing testcase will
have on the usefulness of a library. This field is useful in cases
where a failed testcase does not mean that the library won't be
useful, but may mean that certain library features will not be
available.
BoostBook element headername9headernameheadername ::=
(#PCDATA)
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesalt#IMPLIEDCDATAid#IMPLIEDCDATAA global identifier for this element
BoostBook element free-function-group9free-function-groupA set of functions that are grouped together under one namefree-function-group ::=
(function| overloaded-function)*
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesname#REQUIREDCDATAThe name of the element being declared to referencedid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element functionname9functionnameReferences a function with the given namefunctionname ::=
(#PCDATA)
DescriptionIf a function (or overloaded function) with the given,
possibly-qualified name is found, this generates a link to that
function. Lookups obey currently-active using-class
and using-namespace
directives to aid in the search, along with searching within the
current scope.AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesalt#IMPLIEDCDATAid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element librarycategory9librarycategoryDeclares that the enclosing library is in this categorylibrarycategory ::=
(#PCDATA)
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesname#REQUIREDCDATAThe name of the element being declared to referencedid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element notes9notesNon-normative notes about a function's semanticsnotes ::=
(ANY)
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element data-member9data-memberDeclares a data member of a classdata-member ::=
(type, purpose?, description?)
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesspecifiers#IMPLIEDCDATAThe specifiers for this function, e.g., inline, static, etc.name#REQUIREDCDATAThe name of the element being declared to referencedid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element specialization9specializationDefines the specialization arguments for a class specializationspecialization ::=
(template-arg)*
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element union-specialization9union-specializationA specialization (full or partial) of a union templateunion-specialization ::=
(template?, specialization?, inherit?, purpose?, description?, (access| static-constant| typedef| enum| copy-assignment| constructor| destructor| method-group| free-function-group| function| method| overloaded-function| overloaded-method| data-member| class| class-specialization| struct| struct-specialization| union| union-specialization)*)
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesname#REQUIREDCDATAThe name of the element being declared to referencedid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element throws9throwsDescription of the exceptions thrown by a functionthrows ::=
(ANY)
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element template-arg9template-argA template argument in a specializationtemplate-arg ::=
(ANY)
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesid#IMPLIEDCDATAA global identifier for this elementpack#IMPLIEDCDATASet to '1' if this is a pack exapansion.xml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element globalname9globalnameglobalname ::=
(#PCDATA)
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesalt#IMPLIEDCDATAid#IMPLIEDCDATAA global identifier for this element
BoostBook element method-group9method-groupA set of methods that are grouped together under one namemethod-group ::=
(method| overloaded-method)*
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesname#REQUIREDCDATAThe name of the element being declared to referencedid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element requirement9requirementA requirement/property in the Jamfile for a testcaserequirement ::=
(#PCDATA)
DescriptionA requirement is part of the dependencies of a target in a
Jamfile. The name attribute of a requirement element
gives the name of the Boost.Build feature and the content of the
requirement gives the value of that feature. A requirement such as
<includes>foo.hpp would be encoded as
<requirement
name="includes">foo.hpp</requirement>.AttributesNameTypeValuePurposename#REQUIREDCDATAThe name of the element being declared to referenced
BoostBook element precondition9preconditionConditions that must be met prior to executing a functionprecondition ::=
(ANY)
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element paramtype9paramtypeThe type of a function parameterparamtype ::=
(ANY)
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element using-class9using-classInjects the method and function names of a class into the local scopeusing-class ::=
EMPTY
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesname#REQUIREDCDATAThe name of the element being declared to referencedid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element run-test9run-testA testcase that should compile, link, and executerun-test ::=
(source*, lib*, requirement*, purpose, if-fails?)
AttributesNameTypeValuePurposefilename#REQUIREDCDATAThe name of the file associated with this elementname#IMPLIEDCDATAThe name of the element being declared to referenced
BoostBook element librarypurpose9librarypurposeDescribes in one short sentence or phrase the purpose of a librarylibrarypurpose ::=
(#PCDATA| code| ulink| functionname| methodname| classname| macroname| headername| enumname| globalname)*
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element copy-assignment9copy-assignmentDeclares a copy-assignment operatorcopy-assignment ::=
(template?, type?, parameter*, purpose?, description?, requires?, effects?, postconditions?, returns?, throws?, complexity?, notes?, rationale?)
DescriptionThe return type of the copy-assignment operator does not need
to be specified. If left unspecified, it will default to an
unqualified reference to the enclosing class type.General documentation on functions in BoostBook is provided in
the function
element documentation.AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changescv#IMPLIEDCDATAcv-qualifiers for this method, e.g., const volatilespecifiers#IMPLIEDCDATAThe specifiers for this function, e.g., inline, static, etc.id#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element run-fail-test9run-fail-testA testcase that should compile and link, but fail on executionrun-fail-test ::=
(source*, lib*, requirement*, purpose, if-fails?)
AttributesNameTypeValuePurposefilename#REQUIREDCDATAThe name of the file associated with this elementname#IMPLIEDCDATAThe name of the element being declared to referenced
BoostBook element template9templateDeclares the template parameters of a class or functiontemplate ::=
(template-type-parameter| template-nontype-parameter| template-varargs)*
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element compile-fail-test9compile-fail-testA testcase that should fail to compilecompile-fail-test ::=
(source*, lib*, requirement*, purpose, if-fails?)
AttributesNameTypeValuePurposefilename#REQUIREDCDATAThe name of the file associated with this elementname#IMPLIEDCDATAThe name of the element being declared to referenced
BoostBook element returns9returnsDescription of the return value of a functionreturns ::=
(ANY)
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element default9defaultThe default value of a function or template parameterdefault ::=
(ANY)
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element parameter9parameterA function parameterparameter ::=
(paramtype, default?, description?)
AttributesNameTypeValuePurposename#IMPLIEDCDATAThe name of the element being declared to referencedpack#IMPLIEDCDATASet to '1' if the parameter is a parameter pack.
BoostBook element signature9signatureOne signature of an overloaded function or methodsignature ::=
(template?, type, parameter*)
Description
A signature refers to one declaration of an overloaded function or
method. The signature itself has no name, because the name of the
overloaded function or method is used. An overloaded function or
method will have several signatures that will generally be typeset
together.
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changescv#IMPLIEDCDATAcv-qualifiers for this method, e.g., const volatilespecifiers#IMPLIEDCDATAThe specifiers for this function, e.g., inline, static, etc.id#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element overloaded-function9overloaded-functionAn overloaded functionoverloaded-function ::=
(signature*, purpose?, description?, requires?, effects?, postconditions?, returns?, throws?, complexity?, notes?, rationale?)
DescriptionGeneral documentation on functions in BoostBook is provided in
the function
element documentation.AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesname#REQUIREDCDATAThe name of the element being declared to referencedid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element access9accessDeclares an access specification for class membersaccess ::=
(static-constant| typedef| enum| copy-assignment| constructor| destructor| method-group| method| overloaded-method| data-member| class| class-specialization| struct| struct-specialization| union| union-specialization)+
DescriptionThe access specifications of class members (public, private, or protected) may be determined by enclosing them in an <access> element.AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesname#REQUIREDCDATAThe name of the access specification, e.g. "public", "private", or "protected".id#IMPLIEDCDATAA global identifier for this element
BoostBook element class9classDeclares a class or class templateclass ::=
(template?, inherit*, purpose?, description?, (access| static-constant| typedef| enum| copy-assignment| constructor| destructor| method-group| free-function-group| function| method| overloaded-function| overloaded-method| data-member| class| class-specialization| struct| struct-specialization| union| union-specialization)*)
DescriptionC++ classes and class templates are described via the
<class> element. Each class has a name (e.g., "any") given by
the name attribute, a purpose given by the
<purpose> element, documentation, and a set of types,
functions, base classes, and data members. Here is a minimal
definition of the boost::any class:<namespace name="boost">
<class name="any">
<purpose>
A class whose instances can hold instances of any type that satisfies
ValueType requirements.
</purpose>
</class>
</namespace>Additional class documentation can be contained in a
description element following the <purpose>
element. This documentation will be typeset prior to documentation
for specific elements in the class (e.g., constructors or
methods).Class inheritance is described via the <inherit>
element. The <inherit> element requires an access
attribute which must be one of public,
protected, or private. The
content of the <inherited> element in C++ code that names the
class inherited, and may contain markup to link to the class. The
following description of the class
boost::bad_any_cast describes public
inheritance from the class std::bad_cast. It
also defines the <purpose> element, which contains a short
description of the use of the class.<class name="bad_any_cast">
<inherit access="public"><classname>std::bad_cast</classname></inherit>
<purpose><para>The exception thrown in the event of a failed
<functionname>any_cast</functionname> of an
<classname>any</classname> value.</para></purpose>
</class>Class templates are defined by <class> elements with a
<template> child element at the beginning.AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesname#REQUIREDCDATAThe name of the element being declared to referencedid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element librarycategorydef9librarycategorydefDefines a new library categorylibrarycategorydef ::=
(#PCDATA)
DescriptionAll library category definitions should be in doc/src/boost.xml, and the names of categories must be prefixed with "category:".AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesname#REQUIREDCDATAThe name of the element being declared to referencedid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element type9typeThe type of an element or return type of a functiontype ::=
(ANY)
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element enumvalue9enumvalueA single value of an enumerationenumvalue ::=
(default?, purpose?, description?)
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesname#REQUIREDCDATAThe name of the element being declared to referencedid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element overloaded-method9overloaded-methodAn overloaded methodoverloaded-method ::=
(signature*, purpose?, description?, requires?, effects?, postconditions?, returns?, throws?, complexity?, notes?, rationale?)
DescriptionGeneral documentation on functions in BoostBook is provided in
the function
element documentation.AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesname#REQUIREDCDATAThe name of the element being declared to referencedid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element programlisting9programlistingA sample of program codeprogramlisting ::=
(ANY)
AttributesNameTypeValuePurposename#IMPLIEDCDATAThe name of the element being declared to referenced
BoostBook element complexity9complexityThe time/space/etc. complexity of a functioncomplexity ::=
(ANY)
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element purpose9purposeA short description of an entity's usepurpose ::=
(ANY)
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element template-nontype-parameter9template-nontype-parameterA nontype template parametertemplate-nontype-parameter ::=
(type, default?, purpose?)
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changespack#IMPLIEDCDATASet to '1' if the parameter is a parameter pack.name#REQUIREDCDATAThe name of the element being declared to referencedid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element library9libraryTop-level element for a librarylibrary ::=
(libraryinfo, (title, ((section| library-reference| testsuite))+)?)
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesdirname#REQUIREDCDATAurl#IMPLIEDCDATAname#REQUIREDCDATAThe name of the element being declared to referencedid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludeshtml-only#IMPLIEDCDATA
BoostBook element librarycategorylist9librarycategorylistCategorized listing of librarieslibrarycategorylist ::=
(librarycategorydef)*
DescriptionThis element is not intended for use by developers, but is
used by doc/src/boost.xml as a
placeholder.AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element using-namespace9using-namespaceInjects the declared names from a namespace into the local scopeusing-namespace ::=
EMPTY
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesname#REQUIREDCDATAThe name of the element being declared to referencedid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element enumname9enumnameenumname ::=
(#PCDATA)
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesalt#IMPLIEDCDATAid#IMPLIEDCDATAA global identifier for this element
BoostBook element struct-specialization9struct-specializationA specialization (full or partial) of a struct templatestruct-specialization ::=
(template?, specialization?, inherit?, purpose?, description?, (access| static-constant| typedef| enum| copy-assignment| constructor| destructor| method-group| free-function-group| function| method| overloaded-function| overloaded-method| data-member| class| class-specialization| struct| struct-specialization| union| union-specialization)*)
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesname#REQUIREDCDATAThe name of the element being declared to referencedid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element struct9structDeclares a C++ structstruct ::=
(template?, inherit*, purpose?, description?, (access| static-constant| typedef| enum| copy-assignment| constructor| destructor| method-group| free-function-group| function| method| overloaded-function| overloaded-method| data-member| class| class-specialization| struct| struct-specialization| union| union-specialization)*)
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesname#REQUIREDCDATAThe name of the element being declared to referencedid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element lib9libA library dependencylib ::=
(#PCDATA)
DescriptionDeclares a library dependency on the library named by the content of this element, to be emitted in a Jamfile.
BoostBook element enum9enumDeclares an enumeration typeenum ::=
(enumvalue*, purpose?, description?)
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesname#REQUIREDCDATAThe name of the element being declared to referencedid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element requires9requiresDeclares the requirements of a functionrequires ::=
(ANY)
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element effects9effectsDeclares the side effects of a functioneffects ::=
(ANY)
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element libraryname9librarynameReferences a library of the given namelibraryname ::=
(#PCDATA)
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element libraryinfo9libraryinfoProvides information about a librarylibraryinfo ::=
(author+, copyright*, legalnotice*, librarypurpose, librarycategory*)
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element testsuite9testsuiteDescribes a library testsuitetestsuite ::=
((compile-test| link-test| run-test| compile-fail-test| link-fail-test| run-fail-test)+)
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element header9headerDeclares a C++ header with the given nameheader ::=
(ANY)
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesname#REQUIREDCDATAThe name of the element being declared to referencedid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes
BoostBook element rationale9rationaleDescribes the rationale for a particular function's designrationale ::=
(ANY)
AttributesNameTypeValuePurposelast-revision#IMPLIEDCDATASet to $Date$ to keep "last revised" information in sync with CVS changesid#IMPLIEDCDATAA global identifier for this elementxml:base#IMPLIEDCDATAImplementation detail used by XIncludes