Home / Open source / Terimber 2.0
xml_stream_attribute Class Referencexml stream attribute processing
More...
#include <miscxml.h>
List of all members.
Detailed Description
xml stream attribute processing
Definition at line 51 of file miscxml.h.
Constructor & Destructor Documentation
xml_stream_attribute::xml_stream_attribute |
( |
|
) |
|
xml_stream_attribute::xml_stream_attribute |
( |
const char * |
url, |
|
|
bool |
full | |
|
) |
| | |
Member Function Documentation
bool xml_stream_attribute::crack_xml_request |
( |
const char * |
url, |
|
|
bool |
full | |
|
) |
| | |
breaks url into parts
- Parameters:
-
url |
url |
full |
full url flag |
Definition at line 288 of file miscxml.cpp.
References _extra, _file, _fullpath(), _host, _password, _path, _port, _protocol, _query, _user, base_string< T >::append(), base_string< T >::assign(), ch_at, ch_back_slash, ch_colon, ch_forward_slash, ch_null, ch_pound, ch_question, ch_space, is_letter(), os_minus_one, protocolFILE, protocolFTP, protocolHTTP, str_ForwardSlash, STREAM_FILE, STREAM_FTP, STREAM_HTTP, STREAM_LOCAL, STREAM_RELATIVE, str_template::strlen(), str_template::strnocasecmp(), and str_template::strscan().
Referenced by xml_stream_attribute().
bool xml_stream_attribute::combine_url |
( |
string_t & |
url |
) |
const |
combines the full url from internal parts
- Parameters:
-
Definition at line 159 of file miscxml.cpp.
References _extra, _file, _host, _password, _path, _protocol, _query, _user, base_string< T >::length(), protocolFILE, protocolFTP, protocolHTTP, protocolTale, str_At, str_Colon, str_Pound, str_Question, STREAM_FILE, STREAM_FTP, STREAM_HTTP, STREAM_LOCAL, STREAM_RELATIVE, and STREAM_UNKNOWN.
Referenced by complete_to_full(), and stream_input_common::open().
void xml_stream_attribute::prepare_socket_request |
( |
string_t & |
url |
) |
const |
prepares socket request
- Parameters:
-
Definition at line 217 of file miscxml.cpp.
References _extra, _file, _host, _path, _port, _query, base_string< T >::length(), str_Colon, str_Pound, str_Question, and str_template::strprint().
Referenced by stream_input_common::open().
void xml_stream_attribute::prepare_http_request |
( |
const char * |
agent, |
|
|
string_t & |
url | |
|
) |
| | const |
prepares http request
- Parameters:
-
agent |
http agent name |
url |
[out] http request |
Definition at line 251 of file miscxml.cpp.
References _extra, _file, _host, _path, _port, _query, base_string< T >::length(), str_Colon, str_Pound, str_Question, and str_template::strprint().
bool xml_stream_attribute::complete_to_full |
( |
const char * |
location, |
|
|
const char * |
full_path, |
|
|
string_t & |
res | |
|
) |
| | |
void xml_stream_attribute::clear |
( |
|
) |
[private] |
Member Data Documentation
The documentation for this class was generated from the following files:
|
|