Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::internal::MPSLineInfo Class Reference

Detailed Description

Definition at line 327 of file mps_reader_template.h.

#include <mps_reader_template.h>

Public Member Functions

absl::string_view GetLine () const
bool IsNewSection () const
int GetFieldsSize () const
absl::string_view GetFirstWord () const
bool IsCommentOrBlank () const
absl::string_view GetField (int index) const
int GetFieldOffset () const
absl::Status InvalidArgumentError (absl::string_view error_message) const
absl::Status AppendLineToError (const absl::Status &status) const

Static Public Member Functions

static absl::StatusOr< MPSLineInfo > Create (int64_t line_num, bool free_form, absl::string_view line)

Member Function Documentation

◆ AppendLineToError()

absl::Status operations_research::internal::MPSLineInfo::AppendLineToError ( const absl::Status & status) const

Definition at line 134 of file mps_reader_template.cc.

◆ Create()

absl::StatusOr< MPSLineInfo > operations_research::internal::MPSLineInfo::Create ( int64_t line_num,
bool free_form,
absl::string_view line )
static

Definition at line 42 of file mps_reader_template.cc.

◆ GetField()

absl::string_view operations_research::internal::MPSLineInfo::GetField ( int index) const
inline

Definition at line 366 of file mps_reader_template.h.

◆ GetFieldOffset()

int operations_research::internal::MPSLineInfo::GetFieldOffset ( ) const
inline

Definition at line 377 of file mps_reader_template.h.

◆ GetFieldsSize()

int operations_research::internal::MPSLineInfo::GetFieldsSize ( ) const
inline

Definition at line 349 of file mps_reader_template.h.

◆ GetFirstWord()

absl::string_view operations_research::internal::MPSLineInfo::GetFirstWord ( ) const

Definition at line 119 of file mps_reader_template.cc.

◆ GetLine()

absl::string_view operations_research::internal::MPSLineInfo::GetLine ( ) const
inline

Definition at line 340 of file mps_reader_template.h.

◆ InvalidArgumentError()

absl::Status operations_research::internal::MPSLineInfo::InvalidArgumentError ( absl::string_view error_message) const

Definition at line 129 of file mps_reader_template.cc.

◆ IsCommentOrBlank()

bool operations_research::internal::MPSLineInfo::IsCommentOrBlank ( ) const

Definition at line 123 of file mps_reader_template.cc.

◆ IsNewSection()

bool operations_research::internal::MPSLineInfo::IsNewSection ( ) const
inline

Definition at line 344 of file mps_reader_template.h.


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