jaula API Reference version 1.4.0
JAULA::Value_Null Class Reference

class for handling null values More...

#include <jaula_value_null.h>

Inheritance diagram for JAULA::Value_Null:
JAULA::Value

Public Member Functions

virtual void repr (std::ostream &ostr) const
 Represents the instance in a stream.
virtual void set (Value const &origin) throw (Bad_Data_Type)
 Copies the contents of one instance into another.
 Value_Null (void)
 Constructor.
virtual ~Value_Null ()
 Destructor.

Detailed Description

class for handling null values

This class is a container for JSON Null values
Author:
Kombo Morongo <morongo666@gmail.com>

Constructor & Destructor Documentation

JAULA::Value_Null::Value_Null ( void  )

Constructor.

JAULA::Value_Null::~Value_Null ( ) [virtual]

Destructor.


Member Function Documentation

void JAULA::Value_Null::repr ( std::ostream &  ostr) const [virtual]

Represents the instance in a stream.

Parameters:
ostrStream where the instance is to be represented.
Description
writes the instance content in JSON notation in a stream.

Implements JAULA::Value.

void JAULA::Value_Null::set ( Value const &  origin) throw (Bad_Data_Type) [virtual]

Copies the contents of one instance into another.

Parameters:
originReference to the value to be copied.
Exceptions:
Bad_Data_TypeThis exception is launched in case that origin and destination value types are different.

Reimplemented from JAULA::Value.

References JAULA::Exception::addOrigin(), and JAULA::Value::set().


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