Public Member Functions
mbl_read_props_type Class Reference

The type of the property dictionary. More...

#include <mbl_read_props.h>

List of all members.

Public Member Functions

vcl_string get_required_property (const vcl_string &prop)
 Return the contents for a given property prop.
vcl_string get_optional_property (const vcl_string &prop, const vcl_string &def_value="")
 Return the contents for a given property prop.

Detailed Description

The type of the property dictionary.

Definition at line 54 of file mbl_read_props.h.


Member Function Documentation

vcl_string mbl_read_props_type::get_optional_property ( const vcl_string &  prop,
const vcl_string &  def_value = "" 
)

Return the contents for a given property prop.

prop is removed from the property list. Returns def_value, or empty string if prop doesn't exist.

Note:
This is a fairly trivial function, intended simply as a convenient analogue to get_required_property().

Definition at line 33 of file mbl_read_props.cxx.

vcl_string mbl_read_props_type::get_required_property ( const vcl_string &  prop)

Return the contents for a given property prop.

prop is removed from the property list.

Exceptions:
mbl_exception_missing_propertyif prop doesn't exist

Definition at line 19 of file mbl_read_props.cxx.


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