|
htmlLabel
Hyperlink label class | [Previous] [Main] [Next] |
| htmlItalic encapsulates the <A NAME></A> tags. It is used to identify a location within a document that can be accessed from another hyperlink.
| |
|
| |
| #include <dcmicro/htmlpp/label.h>
| |
|
| |
| |
|
| |
| htmlHyperLink
| |
|
| |
| None.
| |
|
| |
| htmlLabel()
| |
| Constructs an empty label object.
| |
|
| |
| htmlLabel( const String& name )
| |
| Constructs a label object using the specified name.
| |
|
| |
| htmlLabel( const String& name, const htmlObject& element )
| |
| Constructs a label object of the specified name, inserting element into it.
| |
|
| |
| htmlLabel( const String& name, const String& text )
| |
| Constructs a label object of the specified name, inserting text into it.
| |
|
| |
| virtual ~htmlLabel()
| |
| Destroys the object.
| |
|
| |
| Name | htmlLabel& Name(const String& name )
| |
| Sets the label to name, and returns a reference to the object.
| |
|
| |
| Name | String Name() const
| |
| Returns the label name as a string, or an empty string if not set.
| |
|
| |
| Clone | htmlObject FAR * Clone() const
| |
| Returns a base-class pointer to a deep copy of the object.
| |
|
| |
|
| |
| #include <stdio.h>
| |
| #include <stdlib.h>
| |
| #include <dcmicro/htmlpp/htmlpp.h>
| |
|
| |
| int main( void )
| |
| {
| |
| htmlCgi server ;
| |
| htmlPage page( "html++ example application" ) ;
| |
|
| |
| server << page ;
| |
| return 0 ;
| |
| }
| |
|
| |
|
| |
| Content-Type: text/html
| |
| <HTML>
| |
| <HEAD>
| |
| <TITLE>html++ example application</TITLE>
| |
| </HEAD>
| |
| <BODY>
| |
| </BODY>
| |
| </HTML>
| |
|
| |
|
| |
