|
htmlParam
Plug-in/Java applet parameter class | [Previous] [Main] [Next] |
| htmlParam encapsulates the <PARAM></PARAM> tags, used to specify general-purpose or application specific parameters of plugins (created using htmlPlugIn) and Java applets (created using htmlApplet).
| |
|
| |
| #include <dcmicro/htmlpp/param.h>
| |
|
| |
| htmlApplet, htmlPlugIn
| |
|
| |
| None.
| |
|
| |
| htmlParam()
| |
| Constructs an empty parameter object.
| |
|
| |
| htmlParam( const String& name, const String& value )
| |
| Constructs a parameter objec containing the specified parameter name and value strings.
| |
|
| |
| htmlParam( const htmlParam& rhs )
| |
| Copy constructor.
| |
|
| |
| virtual ~htmlParam()
| |
| Destroys the object.
| |
|
| |
| Name | htmlParam& Name( const String& name )
| |
| Sets the parameter name to name, and returns a reference to the object.
| |
|
| ||
| Name | String Name() const
| |
| Returns the parameter name as a string.
| |
|
| ||
| Value | htmlParam& Name( const String& value )
| |
| Sets the parameter value to value, and returns a reference to the object.
| |
|
| ||
| Value | String Value() const
| |
| Returns the parameter value as a string.
| |
|
| ||
| void Print( ostream& os ) const
| ||
| Outputs the object to os.
| |
|
| |
| 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>
| |
|
| |
|
| |
|
| |
