Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 19, 2010, 2:42:40 AM (14 years ago)
Author:
landauf
Message:

added new function to MultiType to check whether or not it contains a value. using this in executor to improve handling of default values.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/consolecommands3/src/libraries/util/MultiType.h

    r7165 r7187  
    351351
    352352            /** @brief Checks whether the value is a default one. */
    353             bool                              hasDefaultValue()         const { return this->value_->hasDefaultValue(); }
     353            bool                              hasDefaultValue() const { return this->value_->hasDefaultValue(); }
     354
     355            /** @brief Checks if the MT contains no value. */
     356            bool                              null() const { return (!this->value_); }
    354357
    355358            operator char()                  const;
Note: See TracChangeset for help on using the changeset viewer.