Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
gen.h File Reference
#include <array>
#include <memory>
#include <string>
#include <vector>
#include "absl/strings/string_view.h"
#include "absl/types/span.h"

Go to the source code of this file.

Classes

struct  operations_research::math_opt::codegen::CodegenAttrTypeDescriptor
 A struct to represent an attribute type descriptor during codegen. More...
class  operations_research::math_opt::codegen::Type
 Representations for types. More...
struct  operations_research::math_opt::codegen::AttrOpFunctionInfo
 Information about how to codegen a given AttrOp in a given language. More...
struct  operations_research::math_opt::codegen::AttrOpFunctionInfo::ExtraParameter
 Extra parameters (e.g. {"double", "value"} for Set operations). More...
class  operations_research::math_opt::codegen::CodeGenerator
 The code generator interface. More...

Namespaces

namespace  operations_research
 In SWIG mode, we don't want anything besides these top-level includes.
namespace  operations_research::math_opt
 An object oriented wrapper for quadratic constraints in ModelStorage.
namespace  operations_research::math_opt::codegen
 Language-agnostic utilities for Elemental codegen.

Typedefs

using operations_research::math_opt::codegen::AttrOpFunctionInfos = std::array<AttrOpFunctionInfo, kNumAttrOps>

Enumerations

enum class  operations_research::math_opt::codegen::AttrOp {
  operations_research::math_opt::codegen::kGet , operations_research::math_opt::codegen::kSet , operations_research::math_opt::codegen::kIsNonDefault , operations_research::math_opt::codegen::kNumNonDefaults ,
  operations_research::math_opt::codegen::kGetNonDefaults , operations_research::math_opt::codegen::kNumOps
}
 The list of attribute operations supported by Elemental. More...

Variables

static constexpr int operations_research::math_opt::codegen::kNumAttrOps = static_cast<int>(AttrOp::kNumOps)