Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
OperationsResearch.OptionalDouble Class Referencesealed

To support 'unspecified' double value in proto3, the simplest is to wrap any double value in a nested message (has_XXX works for message fields). More...

Inheritance diagram for OperationsResearch.OptionalDouble:

Public Member Functions

 OptionalDouble ()
 
 OptionalDouble (OptionalDouble other)
 
OptionalDouble Clone ()
 
void ClearValue ()
 Clears the value of the "value" field.
 
override bool Equals (object other)
 
bool Equals (OptionalDouble other)
 
override int GetHashCode ()
 
override string ToString ()
 
void WriteTo (pb::CodedOutputStream output)
 
int CalculateSize ()
 
void MergeFrom (OptionalDouble other)
 
void MergeFrom (pb::CodedInputStream input)
 

Static Public Attributes

const int ValueFieldNumber = 1
 Field number for the "value" field.
 

Properties

static pb::MessageParser< OptionalDoubleParser [get]
 
static pbr::MessageDescriptor Descriptor [get]
 
double Value [get, set]
 
bool HasValue [get]
 Gets whether the "value" field is set.
 

Detailed Description

To support 'unspecified' double value in proto3, the simplest is to wrap any double value in a nested message (has_XXX works for message fields).

Definition at line 5355 of file LinearSolver.pb.cs.

Constructor & Destructor Documentation

◆ OptionalDouble() [1/2]

OperationsResearch.OptionalDouble.OptionalDouble ( )
inline

Definition at line 5381 of file LinearSolver.pb.cs.

◆ OptionalDouble() [2/2]

OperationsResearch.OptionalDouble.OptionalDouble ( OptionalDouble other)
inline

Definition at line 5389 of file LinearSolver.pb.cs.

Member Function Documentation

◆ CalculateSize()

int OperationsResearch.OptionalDouble.CalculateSize ( )
inline

Definition at line 5496 of file LinearSolver.pb.cs.

◆ ClearValue()

void OperationsResearch.OptionalDouble.ClearValue ( )
inline

Clears the value of the "value" field.

Definition at line 5424 of file LinearSolver.pb.cs.

◆ Clone()

OptionalDouble OperationsResearch.OptionalDouble.Clone ( )
inline

Definition at line 5397 of file LinearSolver.pb.cs.

◆ Equals() [1/2]

override bool OperationsResearch.OptionalDouble.Equals ( object other)
inline

Definition at line 5430 of file LinearSolver.pb.cs.

◆ Equals() [2/2]

bool OperationsResearch.OptionalDouble.Equals ( OptionalDouble other)
inline

Definition at line 5436 of file LinearSolver.pb.cs.

◆ GetHashCode()

override int OperationsResearch.OptionalDouble.GetHashCode ( )
inline

Definition at line 5449 of file LinearSolver.pb.cs.

◆ MergeFrom() [1/2]

void OperationsResearch.OptionalDouble.MergeFrom ( OptionalDouble other)
inline

Definition at line 5509 of file LinearSolver.pb.cs.

◆ MergeFrom() [2/2]

void OperationsResearch.OptionalDouble.MergeFrom ( pb.CodedInputStream input)
inline

Definition at line 5521 of file LinearSolver.pb.cs.

◆ ToString()

override string OperationsResearch.OptionalDouble.ToString ( )
inline

Definition at line 5460 of file LinearSolver.pb.cs.

◆ WriteTo()

void OperationsResearch.OptionalDouble.WriteTo ( pb.CodedOutputStream output)
inline

Definition at line 5466 of file LinearSolver.pb.cs.

Member Data Documentation

◆ ValueFieldNumber

const int OperationsResearch.OptionalDouble.ValueFieldNumber = 1
static

Field number for the "value" field.

Definition at line 5402 of file LinearSolver.pb.cs.

Property Documentation

◆ Descriptor

pbr.MessageDescriptor OperationsResearch.OptionalDouble.Descriptor
staticget

Definition at line 5369 of file LinearSolver.pb.cs.

◆ HasValue

bool OperationsResearch.OptionalDouble.HasValue
get

Gets whether the "value" field is set.

Definition at line 5418 of file LinearSolver.pb.cs.

◆ Parser

pb.MessageParser<OptionalDouble> OperationsResearch.OptionalDouble.Parser
staticget

Definition at line 5365 of file LinearSolver.pb.cs.

◆ Value

double OperationsResearch.OptionalDouble.Value
getset

Definition at line 5408 of file LinearSolver.pb.cs.


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