os_address


A group of elements representing addresses, electronic signatures, or lists of authors.

An os_address is a group of elements representing addresses, electronic signatures, or lists of authors. os_address is a block-structuring page element similar to os_paragraph . An os_address differs from an os_paragraph in that the contents of an os_address are typically rendered in an italic font and may be indented.

os_address begins a new block on the page and arranges its contents as a continuous paragraph, ignoring line breaks and extra spaces. Break an os_address line by inserting an os_break .

Elements are inserted into an os_address through either the add() member function or operator <<.

Declaration

#include <ospace/web/address.h>
class os_address : public os_element_group

Interface

Constructor
os_address( const os_element& element )
Constructs an address containing a copy of element .
Constructor
os_address( const string& text )
Constructs an address containing an os_text element created from text .
clone
/* virtual */ os_element* clone() const
Returns a base class pointer to a heap-based deep copy of the address.
print
/* virtual */ void print( ostream& os ) const
Prints the address to os .

Copyright©1994-2026 Recursion Software LLC
All Rights Reserved