top | up | prev | next

MDBool Class

Definition at line 42 of Metadata.hpp

Constructors

MDBool(bool value_)

Member Functions

void Write(CodeFormatter& formatter)

Member Variables

bool value

Constructor Details

MDBool Constructor

cmsxi::MDBool::MDBool(bool value_)

Definition at line 20 of Metadata.cpp :
 20 : MDItem(MDItemKind::bool_)value(value_)
 21 {
 22 }


Declaration at line 45 of Metadata.hpp


Member Function Details

Write Member Function

void cmsxi::MDBool::Write(CodeFormatter& formatter)

Definition at line 24 of Metadata.cpp :
 25 {
 26     if (value)
 27     {
 28         formatter.Write("true");
 29     }
 30     else
 31     {
 32         formatter.Write("false");
 33     }
 34 }


Calls: cmsxi::MDBool::Write

Called by: cmsxi::MDBool::Write


top | up | prev | next