Add typedef NetSet, for set of Net* sorted by Ids.
This commit is contained in:
parent
31b0c4daf1
commit
57bab117b4
|
@ -99,12 +99,12 @@ namespace Hurricane {
|
|||
childsVMax_ = std::max( getVMax(), std::max( lvmax, rvmax ) ); return childsVMax_;
|
||||
}
|
||||
|
||||
|
||||
|
||||
template< typename Data >
|
||||
inline bool IntervalData<Data>::operator== ( const IntervalData<Data>& other ) const
|
||||
{ return Interval::operator==(*this) and (data_ == other.data_); }
|
||||
|
||||
|
||||
template< typename Data >
|
||||
std::string IntervalData<Data>::_getString () const
|
||||
{
|
||||
|
|
|
@ -17,9 +17,7 @@
|
|||
// not, see <http://www.gnu.org/licenses/>.
|
||||
// ****************************************************************************************************
|
||||
|
||||
#ifndef HURRICANE_NET
|
||||
#define HURRICANE_NET
|
||||
|
||||
#pragma once
|
||||
#include <functional>
|
||||
#include "hurricane/Entity.h"
|
||||
#include "hurricane/Nets.h"
|
||||
|
@ -445,9 +443,10 @@ namespace Hurricane {
|
|||
// Because sometimes it didn't happens (?).
|
||||
const SlotTemplate<Net*> dummyNetSlot ( string("dummyNetSlot"), NULL );
|
||||
|
||||
}
|
||||
|
||||
#endif // HURRICANE_NET
|
||||
typedef std::set<Net*,DBo::CompareById> NetSet;
|
||||
|
||||
}
|
||||
|
||||
|
||||
// ****************************************************************************************************
|
||||
|
|
Loading…
Reference in New Issue