blitzdg
an open-source project aiming to implement parallel discontinuous Galerkin (dg) solvers for common partial differential equations systems using blitz++ for array and tensor manipulations and MPI for distributed parallelism.
Public Types | Public Member Functions | Public Attributes | List of all members
snowhouse::ExpressionBuilder< ConstraintListType > Struct Template Reference

Public Types

typedef ConstraintList< AndOperator, NilAndOperatorNode
 
typedef ConstraintList< OrOperator, NilOrOperatorNode
 
typedef ConstraintList< NotOperator, NilNotOperatorNode
 
typedef ConstraintList< AllOperator, NilAllOperatorNode
 
typedef ConstraintList< AtLeastOperator, NilAtLeastOperatorNode
 
typedef ConstraintList< ExactlyOperator, NilExactlyOperatorNode
 
typedef ConstraintList< AtMostOperator, NilAtMostOperatorNode
 
typedef ConstraintList< NoneOperator, NilNoneOperatorNode
 

Public Member Functions

 ExpressionBuilder (const ConstraintListType &list)
 
template<typename ExpectedType >
ExpressionBuilder< typename type_concat< ConstraintListType, ConstraintList< ConstraintAdapter< EqualsConstraint< ExpectedType > >, Nil > >::t > EqualTo (const ExpectedType &expected)
 
template<typename ExpectedType , typename DeltaType >
ExpressionBuilder< typename type_concat< ConstraintListType, ConstraintList< ConstraintAdapter< EqualsWithDeltaConstraint< ExpectedType, DeltaType > >, Nil > >::t > EqualToWithDelta (const ExpectedType &expected, const DeltaType &delta)
 
template<typename MatcherType >
ExpressionBuilder< typename type_concat< ConstraintListType, ConstraintList< ConstraintAdapter< FulfillsConstraint< MatcherType > >, Nil > >::t > Fulfilling (const MatcherType &matcher)
 
ExpressionBuilder< typename type_concat< ConstraintListType, ConstraintList< ConstraintAdapter< EqualsConstraint< bool > >, Nil > >::t > False ()
 
ExpressionBuilder< typename type_concat< ConstraintListType, ConstraintList< ConstraintAdapter< EqualsConstraint< bool > >, Nil > >::t > True ()
 
ExpressionBuilder< typename type_concat< ConstraintListType, ConstraintList< ConstraintAdapter< EqualsConstraint< std::string > >, Nil > >::t > EqualTo (const char *expected)
 
template<typename ExpectedType >
ExpressionBuilder< typename type_concat< ConstraintListType, ConstraintList< ConstraintAdapter< IsGreaterThanConstraint< ExpectedType > >, Nil > >::t > GreaterThan (const ExpectedType &expected)
 
template<typename ExpectedType >
ExpressionBuilder< typename type_concat< ConstraintListType, ConstraintList< ConstraintAdapter< IsLessThanConstraint< ExpectedType > >, Nil > >::t > LessThan (const ExpectedType &expected)
 
template<typename ExpectedType >
ExpressionBuilder< typename type_concat< ConstraintListType, ConstraintList< ConstraintAdapter< ContainsConstraint< ExpectedType > >, Nil > >::t > Containing (const ExpectedType &expected)
 
ExpressionBuilder< typename type_concat< ConstraintListType, ConstraintList< ConstraintAdapter< ContainsConstraint< std::string > >, Nil > >::t > Containing (const char *expected)
 
template<typename ExpectedType >
ExpressionBuilder< typename type_concat< ConstraintListType, ConstraintList< ConstraintAdapter< EndsWithConstraint< ExpectedType > >, Nil > >::t > EndingWith (const ExpectedType &expected)
 
ExpressionBuilder< typename type_concat< ConstraintListType, ConstraintList< ConstraintAdapter< EndsWithConstraint< std::string > >, Nil > >::t > EndingWith (const char *expected)
 
template<typename ExpectedType >
ExpressionBuilder< typename type_concat< ConstraintListType, ConstraintList< ConstraintAdapter< StartsWithConstraint< ExpectedType > >, Nil > >::t > StartingWith (const ExpectedType &expected)
 
ExpressionBuilder< typename type_concat< ConstraintListType, ConstraintList< ConstraintAdapter< StartsWithConstraint< std::string > >, Nil > >::t > StartingWith (const char *expected)
 
template<typename ExpectedType >
ExpressionBuilder< typename type_concat< ConstraintListType, ConstraintList< ConstraintAdapter< HasLengthConstraint< ExpectedType > >, Nil > >::t > OfLength (const ExpectedType &expected)
 
ExpressionBuilder< typename type_concat< ConstraintListType, ConstraintList< ConstraintAdapter< HasLengthConstraint< int > >, Nil > >::t > Empty ()
 
template<typename ExpectedType >
ExpressionBuilder< typename type_concat< ConstraintListType, ConstraintList< ConstraintAdapter< EqualsContainerConstraint< ExpectedType, bool(*)(const typename ExpectedType::value_type &, const typename ExpectedType::value_type &)> >, Nil > >::t > EqualToContainer (const ExpectedType &expected)
 
template<typename ExpectedType , typename BinaryPredicate >
ExpressionBuilder< typename type_concat< ConstraintListType, ConstraintList< ConstraintAdapter< EqualsContainerConstraint< ExpectedType, BinaryPredicate > >, Nil > >::t > EqualToContainer (const ExpectedType &expected, const BinaryPredicate predicate)
 
ExpressionBuilder< typename type_concat< ConstraintListType, AllOperatorNode >::t > All ()
 
ExpressionBuilder< typename type_concat< ConstraintListType, AtLeastOperatorNode >::t > AtLeast (unsigned int expected)
 
ExpressionBuilder< typename type_concat< ConstraintListType, ExactlyOperatorNode >::t > Exactly (unsigned int expected)
 
ExpressionBuilder< typename type_concat< ConstraintListType, AtMostOperatorNode >::t > AtMost (unsigned int expected)
 
ExpressionBuilder< typename type_concat< ConstraintListType, NoneOperatorNode >::t > None ()
 
ExpressionBuilder< typename type_concat< ConstraintListType, AndOperatorNode >::t > And ()
 
ExpressionBuilder< typename type_concat< ConstraintListType, OrOperatorNode >::t > Or ()
 
ExpressionBuilder< typename type_concat< ConstraintListType, NotOperatorNode >::t > Not ()
 
template<typename ActualType >
void Evaluate (ResultStack &result, OperatorStack &operators, const ActualType &actual)
 

Public Attributes

ConstraintListType m_constraint_list
 

The documentation for this struct was generated from the following file: