![]() |
Home | Libraries | License | Support | People | ALPS Web Site |
alps::integer_state<I, 1>
// In header: <alps/model/integer_state.h> template<typename I> class integer_state<I, 1> { public: // types typedef I representation_type; // member classes/structs/unions class reference { public: // construct/copy/destruct reference(I &, int); template<typename T> reference& operator=(T); // public member functions operator int() const; }; // public member functions integer_state(representation_type = 0); template<typename J> integer_state(const std::vector< J > &); int operator[](int) const; reference operator[](int); operator representation_type() const; representation_type state() const; };
Copyright © 1994, 2002-2005 Matthias Troyer, Synge Todo |