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

aka2::attributes< L, T >::fixed_attribute< V > Struct Template Reference

define fixed attribute. More...

#include <attribute.h>

List of all members.

Public Methods

 fixed_attribute (const std::string &tagname, const std::string &fixed_value)
template<class VL>  fixed_attribute (const std::string &tagname, const std::string &fixed_value, const VL &vl)
void required (bool val)


Detailed Description

template<class L, class T>
template<class V>
struct aka2::attributes< L, T >::fixed_attribute< V >

define fixed attribute.

Define attribute with fixed value.

Parameters:
V  value class

Definition at line 147 of file attribute.h.


Constructor & Destructor Documentation

template<class L, class T>
template<class V>
aka2::attributes< L, T >::fixed_attribute< V >::fixed_attribute const std::string &    tagname,
const std::string &    fixed_value
[inline]
 

Constructor to define fixed attribute.

Parameters:
tagname  tag name
fixed_value  fixed value

Definition at line 153 of file attribute.h.

template<class L, class T>
template<class V>
template<class VL>
aka2::attributes< L, T >::fixed_attribute< V >::fixed_attribute const std::string &    tagname,
const std::string &    fixed_value,
const VL &    vl
[inline]
 

Constructor to define fixed attribute.

Parameters:
tagname  tag name
fixed_value  fixed value
vl  leaf class for V

Definition at line 164 of file attribute.h.


Member Function Documentation

template<class L, class T>
template<class V>
void aka2::attributes< L, T >::fixed_attribute< V >::required bool    val [inline]
 

Set required.

Specifies required flag.

Parameters:
val  true if required, othrewise false

Definition at line 174 of file attribute.h.


The documentation for this struct was generated from the following file:
Generated on Sat Dec 18 22:43:35 2004 for akaxiso2 by doxygen1.2.18