Sundance::Set< Key, Compare > Class Template Reference

List of all members.

Public Types

typedef std::set< Key, Compare >
::iterator 
iterator
typedef std::set< Key, Compare >
::const_iterator 
const_iterator
typedef std::set< Key, Compare >
::reverse_iterator 
reverse_iterator
typedef std::set< Key, Compare >
::const_reverse_iterator 
const_reverse_iterator
typedef std::set< Key, Compare >
::size_type 
size_type
typedef std::set< Key, Compare >
::pointer 
pointer
typedef std::set< Key, Compare >
::const_pointer 
const_pointer
typedef std::set< Key, Compare >
::const_reference 
const_reference
typedef std::set< Key, Compare >
::reference 
reference
typedef std::set< Key, Compare >
::difference_type 
difference_type

Public Member Functions

 Set ()
 Set (const std::set< Key > &s)
iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
reverse_iterator rbegin ()
const_reverse_iterator rbegin () const
reverse_iterator rend ()
const_reverse_iterator rend () const
std::pair< iterator, bool > insert (const Key &x)
iterator insert (iterator pos, const Key &x)
template<typename InputIterator >
void insert (InputIterator first, InputIterator last)
void erase (iterator pos)
void erase (const Key &x)
void erase (iterator first, iterator last)
void clear ()
iterator find (const Key &x)
const_iterator find (const Key &x) const
iterator lower_bound (const Key &x)
const_iterator lower_bound (const Key &x) const
iterator upper_bound (const Key &x)
const_iterator upper_bound (const Key &x) const
std::pair< iterator, iteratorequal_range (const Key &x)
std::pair< const_iterator,
const_iterator
equal_range (const Key &x) const
int size () const
int max_size () const
bool empty () const
const std::set< Key, Compare > & set () const
std::set< Key, Compare > & set ()
bool contains (const Key &key) const
void put (const Key &key)
Array< Key > elements () const
void elements (Array< Key > &keys) const
void merge (const Set< Key, Compare > &other)
Set< Key, Compare > intersection (const Set< Key, Compare > &other) const
Set< Key, Compare > setUnion (const Set< Key, Compare > &other) const
Set< Key, Compare > setDifference (const Set< Key, Compare > &other) const
std::ostream & toStream (std::ostream &os) const
std::string toString () const

Private Attributes

std::set< Key, Compare > set_

Related Functions

(Note that these are not member functions.)

template<class Key >
Set< Key > makeSet (const Array< Key > &k)
template<class Key >
Set< Key > makeSet (const Key &k)
template<class Key >
Set< Key > makeSet (const Key &k1, const Key &k2)
template<class Key >
Set< Key > makeSet (const Key &k1, const Key &k2, const Key &k3)
template<class Key >
Set< Key > makeSet (const Key &k1, const Key &k2, const Key &k3, const Key &k4)
template<class Key >
Set< Key > makeSet (const Key &k1, const Key &k2, const Key &k3, const Key &k4, const Key &k5)
template<class Key >
Set< Key > makeSet (const Key &k1, const Key &k2, const Key &k3, const Key &k4, const Key &k5, const Key &k6)
template<class Key >
Set< Key > makeSet (const Key &k1, const Key &k2, const Key &k3, const Key &k4, const Key &k5, const Key &k6, const Key &k7)
template<class Key >
Set< Key > makeSet (const Key &k1, const Key &k2, const Key &k3, const Key &k4, const Key &k5, const Key &k6, const Key &k7, const Key &k8)
template<typename Key , typename Compare >
bool operator== (const Set< Key, Compare > &L, const Set< Key, Compare > &R)
template<typename Key , typename Compare >
bool operator!= (const Set< Key, Compare > &L, const Set< Key, Compare > &R)
template<typename Key , typename Compare >
bool operator<= (const Set< Key, Compare > &L, const Set< Key, Compare > &R)
template<typename Key , typename Compare >
bool operator< (const Set< Key, Compare > &L, const Set< Key, Compare > &R)
template<typename Key , typename Compare >
bool operator> (const Set< Key, Compare > &L, const Set< Key, Compare > &R)
template<typename Key , typename Compare >
bool operator>= (const Set< Key, Compare > &L, const Set< Key, Compare > &R)
template<class Key , class Compare >
ostream & operator<< (std::ostream &os, const Sundance::Set< Key, Compare > &m)


Detailed Description

template<class Key, class Compare = std::less<Key>>
class Sundance::Set< Key, Compare >

Extension of STL set, adding some nicer syntax and an iostream insertion operator.

Definition at line 50 of file SundanceSet.hpp.


Member Typedef Documentation

template<class Key, class Compare = std::less<Key>>
typedef std::set<Key, Compare>::const_iterator Sundance::Set< Key, Compare >::const_iterator

Definition at line 55 of file SundanceSet.hpp.

template<class Key, class Compare = std::less<Key>>
typedef std::set<Key, Compare>::const_pointer Sundance::Set< Key, Compare >::const_pointer

Definition at line 61 of file SundanceSet.hpp.

template<class Key, class Compare = std::less<Key>>
typedef std::set<Key, Compare>::const_reference Sundance::Set< Key, Compare >::const_reference

Definition at line 62 of file SundanceSet.hpp.

template<class Key, class Compare = std::less<Key>>
typedef std::set<Key, Compare>::const_reverse_iterator Sundance::Set< Key, Compare >::const_reverse_iterator

Definition at line 57 of file SundanceSet.hpp.

template<class Key, class Compare = std::less<Key>>
typedef std::set<Key, Compare>::difference_type Sundance::Set< Key, Compare >::difference_type

Definition at line 64 of file SundanceSet.hpp.

template<class Key, class Compare = std::less<Key>>
typedef std::set<Key, Compare>::iterator Sundance::Set< Key, Compare >::iterator

Definition at line 54 of file SundanceSet.hpp.

template<class Key, class Compare = std::less<Key>>
typedef std::set<Key, Compare>::pointer Sundance::Set< Key, Compare >::pointer

Definition at line 60 of file SundanceSet.hpp.

template<class Key, class Compare = std::less<Key>>
typedef std::set<Key, Compare>::reference Sundance::Set< Key, Compare >::reference

Definition at line 63 of file SundanceSet.hpp.

template<class Key, class Compare = std::less<Key>>
typedef std::set<Key, Compare>::reverse_iterator Sundance::Set< Key, Compare >::reverse_iterator

Definition at line 56 of file SundanceSet.hpp.

template<class Key, class Compare = std::less<Key>>
typedef std::set<Key, Compare>::size_type Sundance::Set< Key, Compare >::size_type

Definition at line 59 of file SundanceSet.hpp.


Constructor & Destructor Documentation

template<class Key, class Compare = std::less<Key>>
Sundance::Set< Key, Compare >::Set (  )  [inline]

Definition at line 67 of file SundanceSet.hpp.

template<class Key, class Compare = std::less<Key>>
Sundance::Set< Key, Compare >::Set ( const std::set< Key > &  s  )  [inline]

Definition at line 70 of file SundanceSet.hpp.


Member Function Documentation

template<class Key, class Compare = std::less<Key>>
const_iterator Sundance::Set< Key, Compare >::begin (  )  const [inline]

Definition at line 76 of file SundanceSet.hpp.

template<class Key, class Compare = std::less<Key>>
iterator Sundance::Set< Key, Compare >::begin (  )  [inline]

Definition at line 73 of file SundanceSet.hpp.

Referenced by Sundance::EquationSet::addToVarUnkPairs(), Sundance::DOFMapBuilder::allFuncsAreOmnipresent(), Sundance::applyTx(), Sundance::applyZx(), Sundance::DiffOpEvaluator::backedDerivs(), Sundance::binaryPartition(), Sundance::CellIterator::CellIterator(), Sundance::ExprWithChildren::childIsRequired(), Sundance::EvaluatableExpr::computeInputR(), Sundance::DiffOpEvaluator::DiffOpEvaluator(), Sundance::ExprWithChildren::displayNonzeros(), Sundance::EvaluatableExpr::displayNonzeros(), Sundance::DOFMapBuilder::domainToFuncSetMap(), Sundance::Set< Key, Compare >::elements(), Sundance::FunctionalPolynomial::findFuncsForSummation(), Sundance::UserDefOpEvaluator::findRequiredOrders(), Sundance::FunctionSupportResolver::FunctionSupportResolver(), Sundance::InhomogeneousEdgeLocalizedDOFMap::getDOFsForCellBatch(), Sundance::InhomogeneousEdgeLocalizedDOFMap::getDOFsForEdgeBatch(), Sundance::DOFMapBuilder::getMaxCellFilter(), Sundance::SerialPartitionerBase::getNeighbors(), Sundance::SerialPartitionerBase::getOffProcData(), Sundance::DOFMapBuilder::getSubdomainUnkFuncMatches(), Sundance::DOFMapBuilder::getSubdomainVarFuncMatches(), Sundance::DiffOpEvaluator::increasedDerivs(), Sundance::InhomogeneousEdgeLocalizedDOFMap::InhomogeneousEdgeLocalizedDOFMap(), Sundance::EquationSet::init(), Sundance::ChainRuleEvaluator::init(), Sundance::ExprWithChildren::internalDetermineR(), Sundance::DiscreteFuncElement::internalDetermineR(), Sundance::DiffOp::internalDetermineR(), Sundance::ExprWithChildren::internalFindC(), Sundance::ExprWithChildren::internalFindV(), Sundance::DiscreteFuncElement::internalFindV(), Sundance::ExprWithChildren::internalFindW(), Sundance::DiscreteFuncElement::internalFindW(), Sundance::Set< Key, Compare >::intersection(), Sundance::DOFMapBuilder::isWholeDomain(), Sundance::SerialPartitionerBase::makeMeshParts(), Sundance::DOFMapBuilder::markBCCols(), Sundance::DOFMapBuilder::markBCRows(), Sundance::EvaluatableExpr::maxOrder(), Sundance::Set< Key, Compare >::merge(), Sundance::multisetCompositions(), Sundance::multisetPartitions(), Sundance::DOFMapBuilder::reduceCellFilters(), Sundance::DiffOp::registerSpatialDerivs(), Sundance::serialPartition(), Sundance::Set< Key, Compare >::setDifference(), Sundance::CellSet::setDifference(), Sundance::EvaluatableExpr::setDivision(), Sundance::CellSet::setIntersection(), Sundance::EvaluatableExpr::setProduct(), Sundance::Set< Key, Compare >::setUnion(), Sundance::CellSet::setUnion(), Sundance::SymbPreprocessor::setupVariations(), Sundance::SparsitySuperset::SparsitySuperset(), Sundance::FunctionalPolynomial::stepRecurrence(), Sundance::DOFMapBuilder::testCellFilters(), Sundance::Set< Key, Compare >::toStream(), and Sundance::DOFMapBuilder::unkCellFilters().

template<class Key, class Compare = std::less<Key>>
void Sundance::Set< Key, Compare >::clear (  )  [inline]

Definition at line 116 of file SundanceSet.hpp.

template<class Key, class Compare = std::less<Key>>
bool Sundance::Set< Key, Compare >::contains ( const Key &  key  )  const [inline]

template<class Key, class Compare >
void Sundance::Set< Key, Compare >::elements ( Array< Key > &  keys  )  const [inline]

template<class Key , class Compare >
Array< Key > Sundance::Set< Key, Compare >::elements (  )  const [inline]

template<class Key, class Compare = std::less<Key>>
bool Sundance::Set< Key, Compare >::empty (  )  const [inline]

Definition at line 151 of file SundanceSet.hpp.

template<class Key, class Compare = std::less<Key>>
const_iterator Sundance::Set< Key, Compare >::end (  )  const [inline]

Definition at line 82 of file SundanceSet.hpp.

template<class Key, class Compare = std::less<Key>>
iterator Sundance::Set< Key, Compare >::end (  )  [inline]

Definition at line 79 of file SundanceSet.hpp.

Referenced by Sundance::EquationSet::addToVarUnkPairs(), Sundance::DOFMapBuilder::allFuncsAreOmnipresent(), Sundance::applyTx(), Sundance::applyZx(), Sundance::DiffOpEvaluator::backedDerivs(), Sundance::binaryPartition(), Sundance::CellIterator::CellIterator(), Sundance::ExprWithChildren::childIsRequired(), Sundance::EvaluatableExpr::computeInputR(), Sundance::Set< NonzeroSpecifier >::contains(), Sundance::DiffOpEvaluator::DiffOpEvaluator(), Sundance::ExprWithChildren::displayNonzeros(), Sundance::EvaluatableExpr::displayNonzeros(), Sundance::DOFMapBuilder::domainToFuncSetMap(), Sundance::Set< Key, Compare >::elements(), Sundance::FunctionalPolynomial::findFuncsForSummation(), Sundance::UserDefOpEvaluator::findRequiredOrders(), Sundance::FunctionSupportResolver::FunctionSupportResolver(), Sundance::InhomogeneousEdgeLocalizedDOFMap::getDOFsForCellBatch(), Sundance::InhomogeneousEdgeLocalizedDOFMap::getDOFsForEdgeBatch(), Sundance::SerialPartitionerBase::getNeighbors(), Sundance::SerialPartitionerBase::getOffProcData(), Sundance::DOFMapBuilder::getSubdomainUnkFuncMatches(), Sundance::DOFMapBuilder::getSubdomainVarFuncMatches(), Sundance::DiffOpEvaluator::increasedDerivs(), Sundance::InhomogeneousEdgeLocalizedDOFMap::InhomogeneousEdgeLocalizedDOFMap(), Sundance::EquationSet::init(), Sundance::ChainRuleEvaluator::init(), Sundance::ExprWithChildren::internalDetermineR(), Sundance::DiscreteFuncElement::internalDetermineR(), Sundance::DiffOp::internalDetermineR(), Sundance::ExprWithChildren::internalFindC(), Sundance::ExprWithChildren::internalFindV(), Sundance::DiscreteFuncElement::internalFindV(), Sundance::ExprWithChildren::internalFindW(), Sundance::DiscreteFuncElement::internalFindW(), Sundance::Set< Key, Compare >::intersection(), Sundance::DOFMapBuilder::isWholeDomain(), Sundance::SerialPartitionerBase::makeMeshParts(), Sundance::DOFMapBuilder::markBCCols(), Sundance::DOFMapBuilder::markBCRows(), Sundance::EvaluatableExpr::maxOrder(), Sundance::Set< Key, Compare >::merge(), Sundance::multisetCompositions(), Sundance::multisetPartitions(), Sundance::DOFMapBuilder::reduceCellFilters(), Sundance::DiffOp::registerSpatialDerivs(), Sundance::serialPartition(), Sundance::Set< Key, Compare >::setDifference(), Sundance::EvaluatableExpr::setDivision(), Sundance::EvaluatableExpr::setProduct(), Sundance::Set< Key, Compare >::setUnion(), Sundance::SymbPreprocessor::setupVariations(), Sundance::SparsitySuperset::SparsitySuperset(), Sundance::FunctionalPolynomial::stepRecurrence(), Sundance::DOFMapBuilder::testCellFilters(), Sundance::Set< Key, Compare >::toStream(), and Sundance::DOFMapBuilder::unkCellFilters().

template<class Key, class Compare = std::less<Key>>
std::pair<const_iterator,const_iterator> Sundance::Set< Key, Compare >::equal_range ( const Key &  x  )  const [inline]

Definition at line 141 of file SundanceSet.hpp.

template<class Key, class Compare = std::less<Key>>
std::pair<iterator,iterator> Sundance::Set< Key, Compare >::equal_range ( const Key &  x  )  [inline]

Definition at line 137 of file SundanceSet.hpp.

template<class Key, class Compare = std::less<Key>>
void Sundance::Set< Key, Compare >::erase ( iterator  first,
iterator  last 
) [inline]

Definition at line 113 of file SundanceSet.hpp.

template<class Key, class Compare = std::less<Key>>
void Sundance::Set< Key, Compare >::erase ( const Key &  x  )  [inline]

Definition at line 110 of file SundanceSet.hpp.

template<class Key, class Compare = std::less<Key>>
void Sundance::Set< Key, Compare >::erase ( iterator  pos  )  [inline]

template<class Key, class Compare = std::less<Key>>
const_iterator Sundance::Set< Key, Compare >::find ( const Key &  x  )  const [inline]

Definition at line 122 of file SundanceSet.hpp.

template<class Key, class Compare = std::less<Key>>
iterator Sundance::Set< Key, Compare >::find ( const Key &  x  )  [inline]

Definition at line 119 of file SundanceSet.hpp.

Referenced by Sundance::Set< NonzeroSpecifier >::contains().

template<class Key, class Compare = std::less<Key>>
template<typename InputIterator >
void Sundance::Set< Key, Compare >::insert ( InputIterator  first,
InputIterator  last 
) [inline]

Definition at line 104 of file SundanceSet.hpp.

template<class Key, class Compare = std::less<Key>>
iterator Sundance::Set< Key, Compare >::insert ( iterator  pos,
const Key &  x 
) [inline]

Definition at line 100 of file SundanceSet.hpp.

template<class Key, class Compare = std::less<Key>>
std::pair<iterator, bool> Sundance::Set< Key, Compare >::insert ( const Key &  x  )  [inline]

template<class Key, class Compare>
Set< Key, Compare > Sundance::Set< Key, Compare >::intersection ( const Set< Key, Compare > &  other  )  const [inline]

template<class Key, class Compare = std::less<Key>>
const_iterator Sundance::Set< Key, Compare >::lower_bound ( const Key &  x  )  const [inline]

Definition at line 128 of file SundanceSet.hpp.

template<class Key, class Compare = std::less<Key>>
iterator Sundance::Set< Key, Compare >::lower_bound ( const Key &  x  )  [inline]

Definition at line 125 of file SundanceSet.hpp.

template<class Key, class Compare = std::less<Key>>
int Sundance::Set< Key, Compare >::max_size (  )  const [inline]

Definition at line 148 of file SundanceSet.hpp.

template<class Key, class Compare>
void Sundance::Set< Key, Compare >::merge ( const Set< Key, Compare > &  other  )  [inline]

template<class Key, class Compare = std::less<Key>>
void Sundance::Set< Key, Compare >::put ( const Key &  key  )  [inline]

Put a new entry in the set

Definition at line 163 of file SundanceSet.hpp.

Referenced by Sundance::SymbolicFuncElement::accumulateFuncSet(), Sundance::BasicSimplicialMesh::addElement(), Sundance::DiscreteFuncElement::addMultiIndex(), Sundance::BasicSimplicialMesh::addVertex(), Sundance::DOFMapBuilder::allFuncsAreOmnipresent(), Sundance::SubmaximalNodalDOFMap::allowedFuncsOnCellBatch(), Sundance::applyTx(), Sundance::applyZx(), Sundance::CellSet::areFacetsOf(), Sundance::SerialPartitionerBase::arrayToSet(), Sundance::DiffOpEvaluator::backedDerivs(), Sundance::BasicSimplicialMesh::BasicSimplicialMesh(), Sundance::binaryPartition(), Sundance::ChainRuleEvaluator::chainRuleBins(), Sundance::Mesh::checkCellConsistency(), Sundance::connectedNodeSet(), Sundance::SparsitySuperset::derivSet(), Sundance::EquationSet::EquationSet(), Sundance::findEnclosingCell(), Sundance::AToCPointLocator::findEnclosingCell(), Sundance::FunctionalPolynomial::findFuncsForSummation(), Sundance::UserDefOpEvaluator::findRequiredOrders(), Sundance::FunctionalPolynomial::FunctionalPolynomial(), Sundance::FunctionSupportResolver::FunctionSupportResolver(), Sundance::PeriodicSingleCellMesh1D::getAllLabelsForDimension(), Sundance::PeriodicMesh1D::getAllLabelsForDimension(), Sundance::MeshBase::getAllLabelsForDimension(), Sundance::BasicSimplicialMesh::getAllLabelsForDimension(), Sundance::ExprWithChildren::getI_N(), Sundance::SerialPartitionerBase::getNeighbors(), Sundance::SerialPartitionerBase::getOffProcData(), Sundance::ExprWithChildren::getTests(), Sundance::Expr::getTests(), Sundance::ExprWithChildren::getUnknowns(), Sundance::Expr::getUnknowns(), Sundance::DiffOpEvaluator::increasedDerivs(), Sundance::ExprWithChildren::indexSetProduct(), Sundance::EquationSet::init(), Sundance::ExprWithChildren::internalDetermineR(), Sundance::SymbolicFuncElement::internalFindC(), Sundance::CoordExpr::internalFindC(), Sundance::ProductExpr::internalFindQ_V(), Sundance::UnaryMinus::internalFindQ_W(), Sundance::ProductExpr::internalFindQ_W(), Sundance::ExprWithChildren::internalFindQ_W(), Sundance::SymbolicFuncElement::internalFindV(), Sundance::DiscreteFuncElement::internalFindV(), Sundance::CoordExpr::internalFindV(), Sundance::SymbolicFuncElement::internalFindW(), Sundance::ExprWithChildren::internalFindW(), Sundance::DiscreteFuncElement::internalFindW(), Sundance::CurveNormExpr::internalFindW(), Sundance::CoordExpr::internalFindW(), Sundance::ConstantExpr::internalFindW(), Sundance::CellVectorExpr::internalFindW(), Sundance::loadPartitions(), Sundance::SerialPartitionerBase::makeMeshParts(), Sundance::Set< Key, Compare >::makeSet(), Sundance::DOFMapBuilder::markBCCols(), Sundance::DOFMapBuilder::markBCRows(), Sundance::Set< Key, Compare >::merge(), Sundance::multisetPartitions(), Sundance::multisetSubsets(), Sundance::PartialElementDOFMap::PartialElementDOFMap(), Sundance::SymbPreprocessor::processInputFuncs(), Sundance::SymbPreprocessor::processInputParams(), Sundance::DOFMapBuilder::reduceCellFilters(), Sundance::DiffOp::registerSpatialDerivs(), Sundance::BasicSimplicialMesh::resolveEdgeOwnership(), Sundance::EvaluatableExpr::setDivision(), Sundance::EvaluatableExpr::setProduct(), Sundance::SymbPreprocessor::setupVariations(), Sundance::FunctionalPolynomial::stepRecurrence(), Sundance::SymbolicFuncElementEvaluator::SymbolicFuncElementEvaluator(), Sundance::BasicSimplicialMesh::synchronizeNeighborLists(), Sundance::DOFMapBuilder::testCellFilters(), Sundance::MultiSet< Key >::toSet(), Sundance::DOFMapBuilder::unkCellFilters(), Sundance::CToAInterpolator::updateField(), Sundance::ExodusWriter::writeFields(), and Sundance::Xx().

template<class Key, class Compare = std::less<Key>>
const_reverse_iterator Sundance::Set< Key, Compare >::rbegin (  )  const [inline]

Definition at line 88 of file SundanceSet.hpp.

template<class Key, class Compare = std::less<Key>>
reverse_iterator Sundance::Set< Key, Compare >::rbegin (  )  [inline]

Definition at line 85 of file SundanceSet.hpp.

Referenced by Sundance::SerialPartitionerBase::max().

template<class Key, class Compare = std::less<Key>>
const_reverse_iterator Sundance::Set< Key, Compare >::rend (  )  const [inline]

Definition at line 94 of file SundanceSet.hpp.

template<class Key, class Compare = std::less<Key>>
reverse_iterator Sundance::Set< Key, Compare >::rend (  )  [inline]

Definition at line 91 of file SundanceSet.hpp.

template<class Key, class Compare = std::less<Key>>
std::set<Key, Compare>& Sundance::Set< Key, Compare >::set (  )  [inline]

Definition at line 157 of file SundanceSet.hpp.

template<class Key, class Compare = std::less<Key>>
const std::set<Key, Compare>& Sundance::Set< Key, Compare >::set (  )  const [inline]

template<class Key, class Compare>
Set< Key, Compare > Sundance::Set< Key, Compare >::setDifference ( const Set< Key, Compare > &  other  )  const [inline]

template<class Key, class Compare>
Set< Key, Compare > Sundance::Set< Key, Compare >::setUnion ( const Set< Key, Compare > &  other  )  const [inline]

template<class Key, class Compare = std::less<Key>>
int Sundance::Set< Key, Compare >::size (  )  const [inline]

template<class Key , class Compare >
std::ostream & Sundance::Set< Key, Compare >::toStream ( std::ostream &  os  )  const [inline]

template<class Key , class Compare >
string Sundance::Set< Key, Compare >::toString (  )  const [inline]

template<class Key, class Compare = std::less<Key>>
const_iterator Sundance::Set< Key, Compare >::upper_bound ( const Key &  x  )  const [inline]

Definition at line 134 of file SundanceSet.hpp.

template<class Key, class Compare = std::less<Key>>
iterator Sundance::Set< Key, Compare >::upper_bound ( const Key &  x  )  [inline]

Definition at line 131 of file SundanceSet.hpp.


Friends And Related Function Documentation

template<class Key >
Set< Key > makeSet ( const Key &  k1,
const Key &  k2,
const Key &  k3,
const Key &  k4,
const Key &  k5,
const Key &  k6,
const Key &  k7,
const Key &  k8 
) [related]

Creates a set

Definition at line 367 of file SundanceSet.hpp.

References Sundance::Set< Key, Compare >::put().

template<class Key >
Set< Key > makeSet ( const Key &  k1,
const Key &  k2,
const Key &  k3,
const Key &  k4,
const Key &  k5,
const Key &  k6,
const Key &  k7 
) [related]

Creates a set

Definition at line 357 of file SundanceSet.hpp.

References Sundance::Set< Key, Compare >::put().

template<class Key >
Set< Key > makeSet ( const Key &  k1,
const Key &  k2,
const Key &  k3,
const Key &  k4,
const Key &  k5,
const Key &  k6 
) [related]

Creates a set

Definition at line 347 of file SundanceSet.hpp.

References Sundance::Set< Key, Compare >::put().

template<class Key >
Set< Key > makeSet ( const Key &  k1,
const Key &  k2,
const Key &  k3,
const Key &  k4,
const Key &  k5 
) [related]

Creates a set

Definition at line 337 of file SundanceSet.hpp.

References Sundance::Set< Key, Compare >::put().

template<class Key >
Set< Key > makeSet ( const Key &  k1,
const Key &  k2,
const Key &  k3,
const Key &  k4 
) [related]

Creates a set

Definition at line 328 of file SundanceSet.hpp.

References Sundance::Set< Key, Compare >::put().

template<class Key >
Set< Key > makeSet ( const Key &  k1,
const Key &  k2,
const Key &  k3 
) [related]

Creates a set

Definition at line 319 of file SundanceSet.hpp.

References Sundance::Set< Key, Compare >::put().

template<class Key >
Set< Key > makeSet ( const Key &  k1,
const Key &  k2 
) [related]

Creates a set

Definition at line 310 of file SundanceSet.hpp.

References Sundance::Set< Key, Compare >::put().

template<class Key >
Set< Key > makeSet ( const Key &  k  )  [related]

Creates a set

Definition at line 301 of file SundanceSet.hpp.

References Sundance::Set< Key, Compare >::put().

template<class Key >
Set< Key > makeSet ( const Array< Key > &  k  )  [related]

template<typename Key , typename Compare >
bool operator!= ( const Set< Key, Compare > &  L,
const Set< Key, Compare > &  R 
) [related]

Definition at line 385 of file SundanceSet.hpp.

References Sundance::Set< Key, Compare >::set().

template<typename Key , typename Compare >
bool operator< ( const Set< Key, Compare > &  L,
const Set< Key, Compare > &  R 
) [related]

Definition at line 401 of file SundanceSet.hpp.

References Sundance::Set< Key, Compare >::set().

template<class Key , class Compare >
ostream & operator<< ( std::ostream &  os,
const Sundance::Set< Key, Compare > &  m 
) [related]

Definition at line 434 of file SundanceSet.hpp.

template<typename Key , typename Compare >
bool operator<= ( const Set< Key, Compare > &  L,
const Set< Key, Compare > &  R 
) [related]

Definition at line 393 of file SundanceSet.hpp.

References Sundance::Set< Key, Compare >::set().

template<typename Key , typename Compare >
bool operator== ( const Set< Key, Compare > &  L,
const Set< Key, Compare > &  R 
) [related]

Definition at line 377 of file SundanceSet.hpp.

References Sundance::Set< Key, Compare >::set().

template<typename Key , typename Compare >
bool operator> ( const Set< Key, Compare > &  L,
const Set< Key, Compare > &  R 
) [related]

Definition at line 410 of file SundanceSet.hpp.

References Sundance::Set< Key, Compare >::set().

template<typename Key , typename Compare >
bool operator>= ( const Set< Key, Compare > &  L,
const Set< Key, Compare > &  R 
) [related]

Definition at line 418 of file SundanceSet.hpp.

References Sundance::Set< Key, Compare >::set().


Member Data Documentation

template<class Key, class Compare = std::less<Key>>
std::set<Key, Compare> Sundance::Set< Key, Compare >::set_ [private]

Site Contact