Ejemplo n.º 1
0
 /**
  * @brief Get a reference to a singleton instance of this Type.
  *
  * @param nullable Whether to get the nullable version of this Type.
  * @return A reference to the desired singleton instance of this Type.
  **/
 static const IntType& Instance(const bool nullable) {
   if (nullable) {
     return InstanceNullable();
   } else {
     return InstanceNonNullable();
   }
 }
 /**
  * @brief Get a reference to a singleton instance of this Type.
  *
  * @param nullable Whether to get the nullable version of this Type.
  * @return A reference to the desired singleton instance of this Type.
  **/
 static const DatetimeIntervalType& Instance(const bool nullable) {
   if (nullable) {
     return InstanceNullable();
   } else {
     return InstanceNonNullable();
   }
 }
Ejemplo n.º 3
0
 const Type& getNullableVersion() const {
   return InstanceNullable();
 }