- Author
 - Alexander Sherikov
 
- Copyright
 - 2018 Alexander Sherikov, Licensed under the Apache License, Version 2.0. (see LICENSE or http://www.apache.org/licenses/LICENSE-2.0) 
 
Definition in file writer.cpp.
 
Go to the source code of this file.
◆ ARILES2_BASIC_TYPE [1/3]
      
        
          | #define ARILES2_BASIC_TYPE | 
          ( | 
            | 
          type | ) | 
           | 
        
      
 
Value:    void Writer::writeElement(const type &element, const Parameters &)                                                 \
    {                                                                                                                  \
        impl_->getRawNode() = element;                                                                                 \
    }
 
Definition at line 136 of file writer.cpp.
 
 
◆ ARILES2_BASIC_TYPE [2/3]
      
        
          | #define ARILES2_BASIC_TYPE | 
          ( | 
            | 
          type | ) | 
           | 
        
      
 
Value:    void Writer::writeElement(const type &element, const Parameters &)                                                 \
    {                                                                                                                  \
        CPPUT_ASSERT(                                                                                                  \
                static_cast<int64_t>(element) <= std::numeric_limits<int>::max()                                       \
                        && static_cast<int64_t>(element) >= static_cast<int64_t>(std::numeric_limits<int>::min()),     \
                "Value is out of range.");                                                                             \
        impl_->getRawNode() = static_cast<int>(element);                                                               \
    }
 
Definition at line 136 of file writer.cpp.
 
 
◆ ARILES2_BASIC_TYPE [3/3]
      
        
          | #define ARILES2_BASIC_TYPE | 
          ( | 
            | 
          type | ) | 
           | 
        
      
 
Value:    void Writer::writeElement(const type &element, const Parameters &)                                                 \
    {                                                                                                                  \
        CPPUT_ASSERT(                                                                                                  \
                static_cast<uint64_t>(element) <= static_cast<uint64_t>(std::numeric_limits<int>::max()),              \
                "Value is too large.");                                                                                \
        impl_->getRawNode() = static_cast<int>(element);                                                               \
    }
 
Definition at line 136 of file writer.cpp.