Class documentation of Concepts

Loading...
Searching...
No Matches
graphics.hh
Go to the documentation of this file.
1
6#ifndef vectorGraphics_hh
7#define vectorGraphics_hh
8
10
11namespace vectorial {
12
13 // ************************************************************** Graphics **
14
18 template<typename F>
20 public:
21 Graphics() : idx_(0) {}
26 void choose(uint idx) { idx_ = idx; }
28 uint chosen() const { return idx_; }
29 virtual void operator()
30 (const concepts::Element<F>& elm,
31 typename concepts::ElementGraphics<F>::graphicsType type,
33 protected:
34 virtual std::ostream& info(std::ostream& os) const;
35 private:
37 uint idx_;
38 };
39
40} // namespace vectorial
41
42#endif // vectorGraphics_hh
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
void choose(uint idx)
Definition graphics.hh:26
uint chosen() const
Returns index of chosen component.
Definition graphics.hh:28