Arcane  v3.16.8.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
Référence du modèle de la classe GenericUri< ValueType, Allocator >
+ Graphe de collaboration de GenericUri< ValueType, Allocator >:

Types publics

typedef ValueType::Ch Ch
 

Fonctions membres publiques

 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 Ch * GetString () const
 
SizeType GetStringLength () const
 
const Ch * GetBaseString () const
 
SizeType GetBaseStringLength () const
 
const Ch * GetSchemeString () const
 
SizeType GetSchemeStringLength () const
 
const Ch * GetAuthString () const
 
SizeType GetAuthStringLength () const
 
const Ch * GetPathString () const
 
SizeType GetPathStringLength () const
 
const Ch * GetQueryString () const
 
SizeType GetQueryStringLength () const
 
const Ch * GetFragString () 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.
 

Fonctions membres privées

std::size_t Allocate (std::size_t len)
 
void Free ()
 
void Parse (const Ch *uri, std::size_t len)
 
void SetBase ()
 
void SetUri ()
 
Ch * CopyPart (Ch *to, Ch *from, std::size_t len)
 
void RemoveDotSegments ()
 

Attributs privés

Ch * uri_
 
Ch * base_
 
Ch * scheme_
 
Ch * auth_
 
Ch * path_
 
Ch * query_
 
Ch * frag_
 
Allocatorallocator_
 The current allocator. It is either user-supplied or equal to ownAllocator_.
 
AllocatorownAllocator_
 Allocator owned by this Uri.
 

Description détaillée

template<typename ValueType, typename Allocator = CrtAllocator>
class GenericUri< ValueType, Allocator >

Définition à la ligne 34 du fichier uri.h.

Documentation des définitions de type membres

◆ Ch

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

Définition à la ligne 36 du fichier uri.h.

Documentation des constructeurs et destructeur

◆ GenericUri() [1/6]

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

Constructors.

Définition à la ligne 42 du fichier uri.h.

◆ GenericUri() [2/6]

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

Définition à la ligne 45 du fichier uri.h.

◆ GenericUri() [3/6]

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

Définition à la ligne 49 du fichier uri.h.

◆ GenericUri() [4/6]

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

Définition à la ligne 54 du fichier uri.h.

◆ GenericUri() [5/6]

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

Copy constructor.

Définition à la ligne 66 du fichier uri.h.

◆ GenericUri() [6/6]

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

Copy constructor.

Définition à la ligne 71 du fichier uri.h.

◆ ~GenericUri()

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

Destructor.

Définition à la ligne 76 du fichier uri.h.

Documentation des fonctions membres

◆ Allocate()

template<typename ValueType, typename Allocator = CrtAllocator>
std::size_t GenericUri< ValueType, Allocator >::Allocate ( std::size_t len)
inlineprivate

Définition à la ligne 235 du fichier uri.h.

◆ CopyPart()

template<typename ValueType, typename Allocator = CrtAllocator>
Ch * GenericUri< ValueType, Allocator >::CopyPart ( Ch * to,
Ch * from,
std::size_t len )
inlineprivate

Définition à la ligne 400 du fichier uri.h.

◆ Free()

template<typename ValueType, typename Allocator = CrtAllocator>
void GenericUri< ValueType, Allocator >::Free ( )
inlineprivate

Définition à la ligne 268 du fichier uri.h.

◆ Get()

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

Getters.

Définition à la ligne 100 du fichier uri.h.

◆ GetAllocator()

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

Get the allocator of this GenericUri.

Définition à la ligne 230 du fichier uri.h.

◆ GetAuthString()

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

Définition à la ligne 110 du fichier uri.h.

◆ GetAuthStringLength()

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

Définition à la ligne 111 du fichier uri.h.

◆ GetBaseString()

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

Définition à la ligne 106 du fichier uri.h.

◆ GetBaseStringLength()

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

Définition à la ligne 107 du fichier uri.h.

◆ GetFragString()

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

Définition à la ligne 116 du fichier uri.h.

◆ GetFragStringLength()

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

Définition à la ligne 117 du fichier uri.h.

◆ GetPathString()

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

Définition à la ligne 112 du fichier uri.h.

◆ GetPathStringLength()

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

Définition à la ligne 113 du fichier uri.h.

◆ GetQueryString()

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

Définition à la ligne 114 du fichier uri.h.

◆ GetQueryStringLength()

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

Définition à la ligne 115 du fichier uri.h.

◆ GetSchemeString()

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

Définition à la ligne 108 du fichier uri.h.

◆ GetSchemeStringLength()

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

Définition à la ligne 109 du fichier uri.h.

◆ GetString()

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

Définition à la ligne 104 du fichier uri.h.

◆ GetStringLength()

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

Définition à la ligne 105 du fichier uri.h.

◆ Match()

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

Définition à la ligne 138 du fichier uri.h.

◆ operator!=()

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

Définition à la ligne 134 du fichier uri.h.

◆ operator=()

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

Assignment operator.

Définition à la ligne 82 du fichier uri.h.

◆ operator==()

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

Equality operators.

Définition à la ligne 130 du fichier uri.h.

◆ Parse()

template<typename ValueType, typename Allocator = CrtAllocator>
void GenericUri< ValueType, Allocator >::Parse ( const Ch * uri,
std::size_t len )
inlineprivate

Définition à la ligne 278 du fichier uri.h.

◆ RemoveDotSegments()

template<typename ValueType, typename Allocator = CrtAllocator>
void GenericUri< ValueType, Allocator >::RemoveDotSegments ( )
inlineprivate

Définition à la ligne 412 du fichier uri.h.

◆ 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.

Définition à la ligne 157 du fichier uri.h.

Référencé par GenericSchemaDocument< Value, CrtAllocator >::FindId().

+ Voici le graphe des appelants de cette fonction :

◆ SetBase()

template<typename ValueType, typename Allocator = CrtAllocator>
void GenericUri< ValueType, Allocator >::SetBase ( )
inlineprivate

Définition à la ligne 375 du fichier uri.h.

◆ SetUri()

template<typename ValueType, typename Allocator = CrtAllocator>
void GenericUri< ValueType, Allocator >::SetUri ( )
inlineprivate

Définition à la ligne 389 du fichier uri.h.

Documentation des données membres

◆ allocator_

template<typename ValueType, typename Allocator = CrtAllocator>
Allocator* GenericUri< ValueType, Allocator >::allocator_
private

The current allocator. It is either user-supplied or equal to ownAllocator_.

Définition à la ligne 469 du fichier uri.h.

Référencé par Resolve().

◆ auth_

template<typename ValueType, typename Allocator = CrtAllocator>
Ch* GenericUri< ValueType, Allocator >::auth_
private

Définition à la ligne 464 du fichier uri.h.

◆ base_

template<typename ValueType, typename Allocator = CrtAllocator>
Ch* GenericUri< ValueType, Allocator >::base_
private

Définition à la ligne 462 du fichier uri.h.

◆ frag_

template<typename ValueType, typename Allocator = CrtAllocator>
Ch* GenericUri< ValueType, Allocator >::frag_
private

Définition à la ligne 467 du fichier uri.h.

◆ ownAllocator_

template<typename ValueType, typename Allocator = CrtAllocator>
Allocator* GenericUri< ValueType, Allocator >::ownAllocator_
private

Allocator owned by this Uri.

Définition à la ligne 470 du fichier uri.h.

◆ path_

template<typename ValueType, typename Allocator = CrtAllocator>
Ch* GenericUri< ValueType, Allocator >::path_
private

Définition à la ligne 465 du fichier uri.h.

◆ query_

template<typename ValueType, typename Allocator = CrtAllocator>
Ch* GenericUri< ValueType, Allocator >::query_
private

Définition à la ligne 466 du fichier uri.h.

◆ scheme_

template<typename ValueType, typename Allocator = CrtAllocator>
Ch* GenericUri< ValueType, Allocator >::scheme_
private

Définition à la ligne 463 du fichier uri.h.

◆ uri_

template<typename ValueType, typename Allocator = CrtAllocator>
Ch* GenericUri< ValueType, Allocator >::uri_
private

Définition à la ligne 461 du fichier uri.h.


La documentation de cette classe a été générée à partir du fichier suivant :