os_glossary_term
|
 |
The term portion of a glossary
list entry.
An os_glossary_term
is the term portion of an os_glossary_list entry.
The definition portion is an os_glossary_definition
. Elements are inserted into an os_glossary_term
through either the os_element_group add()
member functions or operator<< .
Declaration
#include <ospace/web/glosterm.h>
class os_glossary_term : public os_element_group
Interface
Constructor
os_glossary_term()
Constructs an empty
glossary term.
Constructor
os_glossary_term(
const os_element& element )
Constructs a glossary term
containing a copy of element .
Constructor
os_glossary_term(
const string& text )
Constructs a glossary term
containing an os_text element created from text
.
Constructor
os_glossary_term(
const os_glossary_term& rhs )
Constructs a glossary term
that is a copy of rhs .
=
os_glossary_term&
operator=( const os_glossary_term& rhs )
Replaces the glossary term
contents with a copy of rhs and returns a
reference to the glossary term.
clone
/*
virtual */ os_element* clone() const
Returns a base class
pointer to a heap-based deep copy of the glossary term.
print
/*
virtual */ void print( ostream& os )
const
Prints the glossary term
to os .
Copyright©1994-2026 Recursion
Software LLC
All Rights Reserved