Generated on for Gecode by doxygen 1.17.0
Gecode::Instance::Pattern::Item Class Reference

Pattern item. More...

#include <gecode/instance/impl.hpp>

Public Types

enum class  Kind {
  LIT , SPACE , CAP , ANY ,
  VAR
}
 Kind of item. More...

Public Member Functions

 Item (Kind k)
 Initialize with kind k.

Public Attributes

enum Gecode::Instance::Pattern::Item::Kind kind
std::string text
 Literal text, capture name, or variable name.
Type type
 What a capture reads.
bool required
 Whether a space item needs at least one blank.

Detailed Description

Pattern item.

Definition at line 583 of file impl.hpp.

Member Enumeration Documentation

◆ Kind

Kind of item.

Enumerator
LIT 
SPACE 
CAP 
ANY 
VAR 

Definition at line 586 of file impl.hpp.

Constructor & Destructor Documentation

◆ Item()

Gecode::Instance::Pattern::Item::Item ( Kind k)
inlineexplicit

Initialize with kind k.

Definition at line 594 of file impl.hpp.

Member Data Documentation

◆ kind

enum Gecode::Instance::Pattern::Item::Kind Gecode::Instance::Pattern::Item::kind

◆ text

std::string Gecode::Instance::Pattern::Item::text

Literal text, capture name, or variable name.

Definition at line 588 of file impl.hpp.

◆ type

Type Gecode::Instance::Pattern::Item::type

What a capture reads.

Definition at line 590 of file impl.hpp.

◆ required

bool Gecode::Instance::Pattern::Item::required

Whether a space item needs at least one blank.

Definition at line 592 of file impl.hpp.


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