yosys-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ezSAT::_V Struct Reference

#include <ezsat.h>

Public Member Functions

 _V (int id)
 
 _V (const char *name)
 
 _V (const std::string &name)
 
int get (ezSAT *that)
 

Data Fields

int id
 
std::string name
 

Detailed Description

Definition at line 180 of file ezsat.h.

Constructor & Destructor Documentation

ezSAT::_V::_V ( int  id)
inline

Definition at line 183 of file ezsat.h.

183 : id(id) { }
int id
Definition: ezsat.h:181
ezSAT::_V::_V ( const char *  name)
inline

Definition at line 184 of file ezsat.h.

184 : id(0), name(name) { }
int id
Definition: ezsat.h:181
std::string name
Definition: ezsat.h:182
ezSAT::_V::_V ( const std::string &  name)
inline

Definition at line 185 of file ezsat.h.

185 : id(0), name(name) { }
int id
Definition: ezsat.h:181
std::string name
Definition: ezsat.h:182

Member Function Documentation

int ezSAT::_V::get ( ezSAT that)
inline

Definition at line 186 of file ezsat.h.

186  {
187  if (name.empty())
188  return id;
189  return that->frozen_literal(name);
190  }
int frozen_literal()
Definition: ezsat.cc:88
std::string name
Definition: ezsat.h:182

+ Here is the caller graph for this function:

Field Documentation

int ezSAT::_V::id

Definition at line 181 of file ezsat.h.

std::string ezSAT::_V::name

Definition at line 182 of file ezsat.h.


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