GiNaC  1.8.0
lst.h
Go to the documentation of this file.
1 
5 /*
6  * GiNaC Copyright (C) 1999-2020 Johannes Gutenberg University Mainz, Germany
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21  */
22 
23 #ifndef GINAC_LST_H
24 #define GINAC_LST_H
25 
26 #include "container.h"
27 
28 #include <list>
29 
30 namespace GiNaC {
31 
33 
35 template<> inline unsigned lst::get_default_flags() { return status_flags::not_shareable; }
36 
38 template<> inline char lst::get_open_delim() { return '{'; }
39 
41 template<> inline char lst::get_close_delim() { return '}'; }
42 
43 // defined in lst.cpp
44 template<> bool lst::info(unsigned inf) const;
46 
47 } // namespace GiNaC
48 
49 #endif // ndef GINAC_LST_H
GiNaC::lst
container< std::list > lst
Definition: lst.h:32
GiNaC::status_flags::not_shareable
@ not_shareable
don't share instances of this object between different expressions unless explicitly asked to (used b...
Definition: flags.h:206
GiNaC::container::get_default_flags
static unsigned get_default_flags()
Specialization of container::get_default_flags() for lst.
Definition: container.h:84
GiNaC::container::get_open_delim
static char get_open_delim()
Specialization of container::get_open_delim() for lst.
Definition: container.h:85
GiNaC::GINAC_DECLARE_UNARCHIVER
GINAC_DECLARE_UNARCHIVER(add)
GiNaC::container::get_close_delim
static char get_close_delim()
Specialization of container::get_close_delim() for lst.
Definition: container.h:86
GiNaC
Definition: add.cpp:38
container.h
Wrapper template for making GiNaC classes out of STL containers.
GiNaC::container
Wrapper template for making GiNaC classes out of STL containers.
Definition: container.h:73
GiNaC::container::info
bool info(unsigned inf) const override
Information about the object.
Definition: container.h:116

This page is part of the GiNaC developer's reference. It was generated automatically by doxygen. For an introduction, see the tutorial.