LibNebular, implementation of libnebular::PictureProps
.
More...
#include "config.h"
#include "libnebular.hpp"
#include "libnebular-plugin.hpp"
#include <set>
Go to the source code of this file.
LibNebular, implementation of libnebular::PictureProps
.
Copyright (C) 2011 Leonid Sadikov ⟨ leonius@inbox.ru ⟩
This file is part of LibNebular.
LibNebular is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 3 as published by the Free Software Foundation.
See "COPYING.LESSER" and "COPYING" in distribution or ⟨http://www.gnu.org/licenses/⟩ for full license text.
Definition in file picture-props.cpp.
#define CHECK_PROP | ( | CONDITION, | |||
PROP_NAME | ) | CHECK_PROP_COND_MSG(CONDITION, PROP_NAME, #CONDITION) |
Definition at line 45 of file picture-props.cpp.
#define CHECK_PROP_COND_MSG | ( | CONDITION, | |||
PROP_NAME, | |||||
COND_MSG | ) |
if(!(CONDITION)){ \ throw LIBNEBULAR_ERROR(Log::getWrongValueMsg( \ String("\"")+PROP_NAME+"\"", ( isSet(PROP_NAME) ? get<String>(PROP_NAME) : "<unset>" ), \ COND_MSG , \ "", "Invalid" \ ) \ ); \ } \ /* Swallowing the semicolon */ \ while(false) \
Definition at line 32 of file picture-props.cpp.