ALPS Home Libraries License Support People ALPS Web Site

PrevUpHomeNext

Class XMLAttribute

alps::XMLAttribute

Synopsis

// In header: <alps/parser/xmlattributes.h>


class XMLAttribute {
public:
  // types
  typedef std::string key_type;  
  typedef std::string value_type;

  // construct/copy/destruct
  XMLAttribute(const XMLAttribute &);
  XMLAttribute(const key_type &);
  XMLAttribute(const key_type &, const value_type &);
  XMLAttribute(const key_type &, const char *);
  template<typename T> XMLAttribute(const key_type &, const T &);

  // public member functions
  key_type & key();
  const key_type & key() const;
  value_type & value();
  const value_type & value() const;
};

Description

XMLAttribute public construct/copy/destruct

  1. XMLAttribute(const XMLAttribute & attr);
  2. XMLAttribute(const key_type & k);
  3. XMLAttribute(const key_type & k, const value_type & v);
  4. XMLAttribute(const key_type & k, const char * v);
  5. template<typename T> XMLAttribute(const key_type & k, const T & v);

XMLAttribute public member functions

  1. key_type & key();
  2. const key_type & key() const;
  3. value_type & value();
  4. const value_type & value() const;
Copyright © 1994, 2002-2005 Matthias Troyer, Synge Todo

PrevUpHomeNext