Main Page Namespace List Class Hierarchy Compound List File List Namespace Members Compound Members Related Pages

# aka2::attributes< L, T > Class Template Reference

template to define attributes for aka:sequence, aka:all and simpleContent. More...

`#include <attribute.h>`

Inheritance diagram for aka2::attributes< L, T >:

[legend]
List of all members.

## Public Types
typedef _attribute | attribute
## Public Methods
template<class P> void | any_attribute (wc_attributes P::*member, const std::string &ns_list="##any")

## Detailed Description

### template<class L, class T>
class aka2::attributes< L, T >

template to define attributes for aka:sequence, aka:all and simpleContent.

This class provides classes/functions to define attributes. for aka:sequence, aka:all and simpleContent .

Parameters:

  L | leaf class.
  T | value class.

See also:
  aka2::sequence<>, aka2::all<>, aka2::simplecontent<>

Definition at line 32 of file attribute.h.

## Member Typedef Documentation

template<class L, class T>
typedef _attribute aka2::attributes< L, T >::attribute

| typedef name of _attribute. Use attribute instead of _attribute. _attribute is typedef'ed for VC6 workaround. Definition at line 120 of file attribute.h.

## Member Function Documentation

template<class L, class T>
template<class P>
void aka2::attributes< L, T >::any_attribute | ( | wc_attributes< L, T > P::* | member,
|  | const std::string & | ns_list = "##any"
| ) | `[inline]`

  | define any attribute. Define wildcard attributes by using aka2::any_attributes ( <xs:anyAttribute> in XML Schema ). Parameters:
  member | member of aka2::any_attributes
  ns_list | namespace list. available values are "#any", "#other:target_namespace_uri", "#local" or namespace uri list.
Definition at line 133 of file attribute.h.

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

- attribute.h