TAP
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
Namespaces | Functions
Operators.hpp File Reference

Copyright (c) 2015 Harold Bruintjes. More...

Go to the source code of this file.

Namespaces

 TAP
 The main TAP namespace.
 

Functions

ArgumentConstraint
< ConstraintType::One > 
TAP::operator^ (Argument &left, Argument &right)
 Joins two arguments together using the ConstraintType::One operator. More...
 
ArgumentConstraint
< ConstraintType::One > 
TAP::operator^ (ArgumentConstraint< ConstraintType::One > left, Argument &right)
 Joins two arguments together using the ConstraintType::One operator. More...
 
ArgumentConstraint
< ConstraintType::One > 
TAP::operator^ (Argument &left, ArgumentConstraint< ConstraintType::One > &right)
 Joins two arguments together using the ConstraintType::One operator. More...
 
ArgumentConstraint
< ConstraintType::Any > 
TAP::operator| (Argument &left, Argument &right)
 Joins two arguments together using the ConstraintType::Any operator. More...
 
ArgumentConstraint
< ConstraintType::Any > 
TAP::operator| (ArgumentConstraint< ConstraintType::Any > left, Argument &right)
 Joins two arguments together using the ConstraintType::Any operator. More...
 
ArgumentConstraint
< ConstraintType::Any > 
TAP::operator| (Argument &left, ArgumentConstraint< ConstraintType::Any > &right)
 Joins two arguments together using the ConstraintType::Any operator. More...
 
ArgumentConstraint
< ConstraintType::All > 
TAP::operator& (Argument &left, Argument &right)
 Joins two arguments together using the ConstraintType::All operator. More...
 
ArgumentConstraint
< ConstraintType::All > 
TAP::operator& (ArgumentConstraint< ConstraintType::All > left, Argument &right)
 Joins two arguments together using the ConstraintType::All operator. More...
 
ArgumentConstraint
< ConstraintType::All > 
TAP::operator& (Argument &left, ArgumentConstraint< ConstraintType::All > &right)
 Joins two arguments together using the ConstraintType::All operator. More...
 
ArgumentConstraint
< ConstraintType::None > 
TAP::operator~ (Argument &arg)
 "Negates" an argument using the ConstraintType::None operator. More...
 
template<ConstraintType CType>
ArgumentConstraint
< ConstraintType::None > 
TAP::operator~ (ArgumentConstraint< CType > &arg)
 "Negates" an argument constraint using the ConstraintType::None operator. More...
 
Argument & TAP::operator- (Argument &arg)
 Makes an argument optional. More...
 
template<ConstraintType CType>
ArgumentConstraint< CType > & TAP::operator- (ArgumentConstraint< CType > &arg)
 Makes an argument constraint optional. More...
 
Argument & TAP::operator+ (Argument &arg)
 Makes an argument required. More...
 
Argument && TAP::operator+ (Argument &&arg)
 Makes an argument required. More...
 
template<ConstraintType CType>
ArgumentConstraint< CType > & TAP::operator+ (ArgumentConstraint< CType > &arg)
 Makes an argument constraint required. More...
 
template<ConstraintType CType>
ArgumentConstraint< CType > && TAP::operator+ (ArgumentConstraint< CType > &&arg)
 Makes an argument constraint required. More...
 

Detailed Description

Copyright (c) 2015 Harold Bruintjes.

This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.

Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

  1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgement in the product documentation would be appreciated but is not required.
  2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
  3. This notice may not be removed or altered from any source distribution.

Contains the definitions for Argument operators to create ArgumentConstraints.