Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
lilim_parser.cc File Reference
#include "ortools/routing/parsers/lilim_parser.h"
#include <cstdint>
#include <limits>
#include <memory>
#include <optional>
#include <string>
#include <vector>
#include "absl/strings/match.h"
#include "absl/strings/str_split.h"
#include "absl/strings/string_view.h"
#include "ortools/base/file.h"
#include "ortools/base/numbers.h"
#include "ortools/base/options.h"
#include "ortools/base/path.h"
#include "ortools/base/zipfile.h"
#include "ortools/util/filelineiter.h"

Go to the source code of this file.

Namespaces

namespace  operations_research
 In SWIG mode, we don't want anything besides these top-level includes.
 

Macros

#define PARSE_AND_RETURN_IF_NEGATIVE(str, dest_type, dest)
 

Macro Definition Documentation

◆ PARSE_AND_RETURN_IF_NEGATIVE

#define PARSE_AND_RETURN_IF_NEGATIVE ( str,
dest_type,
dest )
Value:
dest_type dest = strings::ParseLeadingInt32Value(str, -1); \
do { \
if (dest < 0) return false; \
} while (false)
int32_t ParseLeadingInt32Value(const char *str, int32_t deflt)
Definition numbers.cc:60

Definition at line 78 of file lilim_parser.cc.