picture-props.cpp File Reference

LibNebular, implementation of libnebular::PictureProps. More...

#include "config.h"
#include "libnebular.hpp"
#include "libnebular-plugin.hpp"
#include <set>
Include dependency graph for picture-props.cpp:

Go to the source code of this file.

Classes

class  libnebular::PictureProps::Impl_

Namespaces

namespace  libnebular
 

All ⟨libnebular⟩ identifiers which are exposed to public.


Defines

#define CHECK_PROP_COND_MSG(CONDITION, PROP_NAME, COND_MSG)
#define CHECK_PROP(CONDITION, PROP_NAME)   CHECK_PROP_COND_MSG(CONDITION, PROP_NAME, #CONDITION)

Functions

template<>
void libnebular::PictureProps::Impl_::calculateUnchecked< PictureProps::PropCalcBmColorsUsed > ()
template<>
void libnebular::PictureProps::Impl_::calculateUnchecked< PictureProps::PropCalcBmDataSize > ()
template<>
void libnebular::PictureProps::Impl_::calculateUnchecked< PictureProps::PropCalcBmSizeLengthUnits > ()
template<>
void libnebular::PictureProps::check< PictureProps::PropBmData > ()
template<>
void libnebular::PictureProps::check< PictureProps::PropBmPixelFormat > ()
template<>
void libnebular::PictureProps::check< PictureProps::PropBmMiscDisplayParams > ()
template<>
void libnebular::PictureProps::check< PictureProps::PropBmMiscStorageParams > ()
template<>
void libnebular::PictureProps::check< PictureProps::PropBmPixelsPerLength > ()
template<>
void libnebular::PictureProps::calculate< PictureProps::PropCalcBmSizeLengthUnits > ()
template<>
void libnebular::PictureProps::calculate< PictureProps::PropCalcBmPixelMaskMisc > ()
template<>
void libnebular::PictureProps::calculate< PictureProps::PropCalcBmColorsUsed > ()
template<>
void libnebular::PictureProps::calculate< PictureProps::PropCalcBmDataSize > ()
template<>
void libnebular::PictureProps::check< PictureProps::PropBmInfo > ()

Detailed Description

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.

Author:
Leonid Sadikov ⟨ leonius@inbox.ru
Date:
Created: 18 Apr 2011

Definition in file picture-props.cpp.


Define Documentation

#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   ) 
Value:
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.

Generated on Sun May 29 18:23:53 2011 for libnebular by  doxygen 1.6.3