Version: 1.0
Public Types | Public Member Functions | Public Attributes | List of all members
conact Struct Reference

#include <condition_action.h>

Public Types

enum class  type { CONDITION , ACTION }
 

Public Member Functions

 conact ()
 
 conact (std::string c)
 
 conact (uint a, uint n)
 
std::vector< uintactions () const
 
bool operator== (const conact &other) const
 
bool operator!= (const conact &other) const
 
bool eq (const conact &other) const
 
bool neq (const conact &other) const
 

Public Attributes

type t
 
std::string condition
 
std::bitset< 131 > action = 0
 
size_t next = 0
 

Detailed Description

Definition at line 18 of file condition_action.h.

Member Enumeration Documentation

◆ type

enum conact::type
strong
Enumerator
CONDITION 
ACTION 

Definition at line 19 of file condition_action.h.

Constructor & Destructor Documentation

◆ conact() [1/3]

conact::conact ( )
inline

Definition at line 28 of file condition_action.h.

◆ conact() [2/3]

conact::conact ( std::string  c)
inline

Definition at line 29 of file condition_action.h.

◆ conact() [3/3]

conact::conact ( uint  a,
uint  n 
)
inline

Definition at line 30 of file condition_action.h.

Member Function Documentation

◆ actions()

std::vector<uint> conact::actions ( ) const
inline

Definition at line 32 of file condition_action.h.

◆ eq()

bool conact::eq ( const conact other) const
inline

Definition at line 60 of file condition_action.h.

◆ neq()

bool conact::neq ( const conact other) const
inline

Definition at line 69 of file condition_action.h.

◆ operator!=()

bool conact::operator!= ( const conact other) const
inline

Definition at line 55 of file condition_action.h.

◆ operator==()

bool conact::operator== ( const conact other) const
inline

Definition at line 46 of file condition_action.h.

Member Data Documentation

◆ action

std::bitset<131> conact::action = 0

Definition at line 25 of file condition_action.h.

◆ condition

std::string conact::condition

Definition at line 23 of file condition_action.h.

◆ next

size_t conact::next = 0

Definition at line 26 of file condition_action.h.

◆ t

type conact::t

Definition at line 21 of file condition_action.h.


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