GenericUri< ValueType, Allocator > Class Template Reference

GenericUri&lt; ValueType, Allocator &gt; Class Template Reference#

Composable Kernel: GenericUri< ValueType, Allocator > Class Template Reference
GenericUri< ValueType, Allocator > Class Template Reference

#include <uri.h>

Public Types

typedef ValueType::Ch Ch

Public Member Functions

 GenericUri (Allocator *allocator=0)
 Constructors.
 GenericUri (const Ch *uri, SizeType len, Allocator *allocator=0)
 GenericUri (const Ch *uri, Allocator *allocator=0)
template<typename T>
 GenericUri (const T &uri, Allocator *allocator=0)
 GenericUri (const GenericUri &rhs)
 Copy constructor.
 GenericUri (const GenericUri &rhs, Allocator *allocator)
 Copy constructor.
 ~GenericUri ()
 Destructor.
GenericUrioperator= (const GenericUri &rhs)
 Assignment operator.
template<typename T>
void Get (T &uri, Allocator &allocator)
 Getters.
const ChGetString () const
SizeType GetStringLength () const
const ChGetBaseString () const
SizeType GetBaseStringLength () const
const ChGetSchemeString () const
SizeType GetSchemeStringLength () const
const ChGetAuthString () const
SizeType GetAuthStringLength () const
const ChGetPathString () const
SizeType GetPathStringLength () const
const ChGetQueryString () const
SizeType GetQueryStringLength () const
const ChGetFragString () const
SizeType GetFragStringLength () const
bool operator== (const GenericUri &rhs) const
 Equality operators.
bool operator!= (const GenericUri &rhs) const
bool Match (const GenericUri &uri, bool full=true) const
GenericUri Resolve (const GenericUri &baseuri, Allocator *allocator=0)
 Resolve this URI against another (base) URI in accordance with URI resolution rules.
AllocatorGetAllocator ()
 Get the allocator of this GenericUri.

Member Typedef Documentation

◆ Ch

template<typename ValueType, typename Allocator = CrtAllocator>
typedef ValueType::Ch GenericUri< ValueType, Allocator >::Ch

Constructor & Destructor Documentation

◆ GenericUri() [1/6]

template<typename ValueType, typename Allocator = CrtAllocator>
GenericUri< ValueType, Allocator >::GenericUri ( Allocator * allocator = 0)
inline

Constructors.

◆ GenericUri() [2/6]

template<typename ValueType, typename Allocator = CrtAllocator>
GenericUri< ValueType, Allocator >::GenericUri ( const Ch * uri,
SizeType len,
Allocator * allocator = 0 )
inline

◆ GenericUri() [3/6]

template<typename ValueType, typename Allocator = CrtAllocator>
GenericUri< ValueType, Allocator >::GenericUri ( const Ch * uri,
Allocator * allocator = 0 )
inline

◆ GenericUri() [4/6]

template<typename ValueType, typename Allocator = CrtAllocator>
template<typename T>
GenericUri< ValueType, Allocator >::GenericUri ( const T & uri,
Allocator * allocator = 0 )
inline

◆ GenericUri() [5/6]

template<typename ValueType, typename Allocator = CrtAllocator>
GenericUri< ValueType, Allocator >::GenericUri ( const GenericUri< ValueType, Allocator > & rhs)
inline

Copy constructor.

◆ GenericUri() [6/6]

template<typename ValueType, typename Allocator = CrtAllocator>
GenericUri< ValueType, Allocator >::GenericUri ( const GenericUri< ValueType, Allocator > & rhs,
Allocator * allocator )
inline

Copy constructor.

◆ ~GenericUri()

template<typename ValueType, typename Allocator = CrtAllocator>
GenericUri< ValueType, Allocator >::~GenericUri ( )
inline

Destructor.

Member Function Documentation

◆ Get()

template<typename ValueType, typename Allocator = CrtAllocator>
template<typename T>
void GenericUri< ValueType, Allocator >::Get ( T & uri,
Allocator & allocator )
inline

Getters.

◆ GetAllocator()

template<typename ValueType, typename Allocator = CrtAllocator>
Allocator & GenericUri< ValueType, Allocator >::GetAllocator ( )
inline

Get the allocator of this GenericUri.

◆ GetAuthString()

template<typename ValueType, typename Allocator = CrtAllocator>
const Ch * GenericUri< ValueType, Allocator >::GetAuthString ( ) const
inline

◆ GetAuthStringLength()

template<typename ValueType, typename Allocator = CrtAllocator>
SizeType GenericUri< ValueType, Allocator >::GetAuthStringLength ( ) const
inline

◆ GetBaseString()

template<typename ValueType, typename Allocator = CrtAllocator>
const Ch * GenericUri< ValueType, Allocator >::GetBaseString ( ) const
inline

◆ GetBaseStringLength()

template<typename ValueType, typename Allocator = CrtAllocator>
SizeType GenericUri< ValueType, Allocator >::GetBaseStringLength ( ) const
inline

◆ GetFragString()

template<typename ValueType, typename Allocator = CrtAllocator>
const Ch * GenericUri< ValueType, Allocator >::GetFragString ( ) const
inline

◆ GetFragStringLength()

template<typename ValueType, typename Allocator = CrtAllocator>
SizeType GenericUri< ValueType, Allocator >::GetFragStringLength ( ) const
inline

◆ GetPathString()

template<typename ValueType, typename Allocator = CrtAllocator>
const Ch * GenericUri< ValueType, Allocator >::GetPathString ( ) const
inline

◆ GetPathStringLength()

template<typename ValueType, typename Allocator = CrtAllocator>
SizeType GenericUri< ValueType, Allocator >::GetPathStringLength ( ) const
inline

◆ GetQueryString()

template<typename ValueType, typename Allocator = CrtAllocator>
const Ch * GenericUri< ValueType, Allocator >::GetQueryString ( ) const
inline

◆ GetQueryStringLength()

template<typename ValueType, typename Allocator = CrtAllocator>
SizeType GenericUri< ValueType, Allocator >::GetQueryStringLength ( ) const
inline

◆ GetSchemeString()

template<typename ValueType, typename Allocator = CrtAllocator>
const Ch * GenericUri< ValueType, Allocator >::GetSchemeString ( ) const
inline

◆ GetSchemeStringLength()

template<typename ValueType, typename Allocator = CrtAllocator>
SizeType GenericUri< ValueType, Allocator >::GetSchemeStringLength ( ) const
inline

◆ GetString()

template<typename ValueType, typename Allocator = CrtAllocator>
const Ch * GenericUri< ValueType, Allocator >::GetString ( ) const
inline

◆ GetStringLength()

template<typename ValueType, typename Allocator = CrtAllocator>
SizeType GenericUri< ValueType, Allocator >::GetStringLength ( ) const
inline

◆ Match()

template<typename ValueType, typename Allocator = CrtAllocator>
bool GenericUri< ValueType, Allocator >::Match ( const GenericUri< ValueType, Allocator > & uri,
bool full = true ) const
inline

◆ operator!=()

template<typename ValueType, typename Allocator = CrtAllocator>
bool GenericUri< ValueType, Allocator >::operator!= ( const GenericUri< ValueType, Allocator > & rhs) const
inline

◆ operator=()

template<typename ValueType, typename Allocator = CrtAllocator>
GenericUri & GenericUri< ValueType, Allocator >::operator= ( const GenericUri< ValueType, Allocator > & rhs)
inline

Assignment operator.

◆ operator==()

template<typename ValueType, typename Allocator = CrtAllocator>
bool GenericUri< ValueType, Allocator >::operator== ( const GenericUri< ValueType, Allocator > & rhs) const
inline

Equality operators.

◆ Resolve()

template<typename ValueType, typename Allocator = CrtAllocator>
GenericUri GenericUri< ValueType, Allocator >::Resolve ( const GenericUri< ValueType, Allocator > & baseuri,
Allocator * allocator = 0 )
inline

Resolve this URI against another (base) URI in accordance with URI resolution rules.


The documentation for this class was generated from the following file: