OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
Namespaces | Typedefs | Enumerations | Functions | Variables
ast.hpp File Reference
#include <array>
#include <optional>
#include <string>
#include <string_view>
#include <type_traits>
#include <utility>
#include <variant>
#include <vector>
Include dependency graph for ast.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  SDDS
 
namespace  SDDS::ast
 
namespace  SDDS::parser
 

Typedefs

using SDDS::ast::variant_t = std::variant< float, double, short, long, char, std::string >
 
using SDDS::ast::columnData_t = std::vector< variant_t >
 

Enumerations

enum class  SDDS::ast::dataType {
  SDDS::ast::FLOAT , SDDS::ast::DOUBLE , SDDS::ast::SHORT , SDDS::ast::LONG ,
  SDDS::ast::CHARACTER , SDDS::ast::STRING
}
 
enum class  SDDS::ast::dataMode { SDDS::ast::ASCII , SDDS::ast::BINARY }
 

Functions

constexpr char SDDS::ast::toLowerAscii (char c)
 
constexpr bool SDDS::ast::equalsIgnoreCase (std::string_view lhs, std::string_view rhs)
 
constexpr std::optional< dataType > SDDS::ast::parseDataType (std::string_view typeName)
 
constexpr std::string_view SDDS::ast::getDataTypeString (dataType type)
 
constexpr std::string_view SDDS::ast::getDataModeString (dataMode mode)
 

Variables

constexpr std::array< std::pair< std::string_view, dataType >, 6 > SDDS::ast::dataTypeTable