Google OR-Tools v9.11
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 5251 of file LinearSolver.pb.cs.

Constructor & Destructor Documentation

◆ OptionalDouble() [1/2]

OperationsResearch.OptionalDouble.OptionalDouble ( )
inline

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

◆ OptionalDouble() [2/2]

OperationsResearch.OptionalDouble.OptionalDouble ( OptionalDouble other)
inline

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

Member Function Documentation

◆ CalculateSize()

int OperationsResearch.OptionalDouble.CalculateSize ( )
inline

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

◆ ClearValue()

void OperationsResearch.OptionalDouble.ClearValue ( )
inline

Clears the value of the "value" field.

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

◆ Clone()

OptionalDouble OperationsResearch.OptionalDouble.Clone ( )
inline

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

◆ Equals() [1/2]

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

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

◆ Equals() [2/2]

bool OperationsResearch.OptionalDouble.Equals ( OptionalDouble other)
inline

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

◆ GetHashCode()

override int OperationsResearch.OptionalDouble.GetHashCode ( )
inline

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

◆ MergeFrom() [1/2]

void OperationsResearch.OptionalDouble.MergeFrom ( OptionalDouble other)
inline

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

◆ MergeFrom() [2/2]

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

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

◆ ToString()

override string OperationsResearch.OptionalDouble.ToString ( )
inline

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

◆ WriteTo()

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

Definition at line 5362 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 5298 of file LinearSolver.pb.cs.

Property Documentation

◆ Descriptor

pbr.MessageDescriptor OperationsResearch.OptionalDouble.Descriptor
staticget

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

◆ HasValue

bool OperationsResearch.OptionalDouble.HasValue
get

Gets whether the "value" field is set.

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

◆ Parser

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

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

◆ Value

double OperationsResearch.OptionalDouble.Value
getset

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


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