FLOPC++
MP_set.cpp
Go to the documentation of this file.
1 // ******************** FlopCpp **********************************************
2 // File: MP_set.cpp
3 // $Id$
4 // Author: Tim Helge Hultberg (thh@mat.ua.pt)
5 // Copyright (C) 2003 Tim Helge Hultberg
6 // All Rights Reserved.
7 //****************************************************************************
8 
9 #include "MP_set.hpp"
10 #include "MP_model.hpp"
11 #include <sstream>
12 using namespace flopc;
13 
14 namespace flopc {
15 
16  MP_set MP_set::Empty = *new MP_set(1);
18  return Empty;
19  }
20 
21 // void MP_set_base::display() const {
22 // //I don't like this hack. However, until messenger is segregated from the
23 // // model, it's pretty impossible to use it in a shared fashion.
24 // /// MP_model::getCurrentModel()->getMessenger()->logMessage(5,toString().c_str());
25 // }
26 
27 }
static MP_set & getEmpty()
gets the distinct &#39;empty&#39; MP_set.
Definition: MP_set.cpp:17
All flopc++ code is contained within the flopc namespace.
Definition: flopc.cpp:11
static MP_set Empty
Definition: MP_set.hpp:116
Representation of a set for indexing into some other construct.This is one of the main public interfa...
Definition: MP_set.hpp:79