'ODTONE - Open Dot Twenty One'

PrevUpHomeNext

Struct cost

odtone::mih::cost

Synopsis

// In header: </home/carlos/Projectos/odtone/inc/odtone/mih/types/information.hpp>


struct cost {

  // public member functions
  template<typename ArchiveT> void serialize(ArchiveT &);

  // public data members
  cost_unit unit;
  cost_value value;
  cost_curr curr;
};

Description

COST data type.

cost public member functions

  1. template<typename ArchiveT> void serialize(ArchiveT & ar);

    Serialize/deserialize the COST data type.

    Parameters:

    ar

    The archive to/from where serialize/deserialize the data type.

cost public public data members

  1. cost_unit unit;

    Cost unit

  2. cost_value value;

    Cost value

  3. cost_curr curr;

    Cost currency


PrevUpHomeNext