Veda/PackLong_WithLimits.h File Reference


Detailed Description

This file applies the GNU LESSER GENERAL PUBLIC LICENSE Version 2.1 , read file COPYING.

Author:
victorien ferry & www.m4nkind.com

Definition in file PackLong_WithLimits.h.

#include "PackLong.h"

Go to the source code of this file.

Classes

class  PackLong_WithLimits
 PackLong_WithLimits specialize PackLong to define a min and max value possible for this signed integer value. Specify these min,max after serialisation member registration. When compiled as non-editable, this class become a classic PackLong, nothing more is compiled. More...

Defines

#define REGISTER_MEMBER_WITHLIMITS_SETMINMAX(_object, _MemberName, _DefaultVal, _min, _max)
 This macro is used for member registration to specify the limits possible for this member:.


Define Documentation

#define REGISTER_MEMBER_WITHLIMITS_SETMINMAX _object,
_MemberName,
_DefaultVal,
_min,
_max   ) 
 

Value:

REGISTER_MEMBER(_object,_MemberName)\
_object.SetMinMax( _min, _max );\
_object.Set(_DefaultVal);
This macro is used for member registration to specify the limits possible for this member:.

Definition at line 81 of file PackLong_WithLimits.h.


      /\/\        4         N         k         !         N         D
                      _______  _ __ ___  _____            ___ _ _  ____
     ___________  __//___   /________  |/    / ___________\_______/    \
    /   _   _   \/   _     /    _   /      _/_/____/    _       __     /
   /    /   /       /     /    /    \      \/     /    /    \   \     /
  \\___/___/___/    ¯    _____/_____/       ______\___/_____/\________\\
               \________/_ ___ __ l____\      /elD!  
                 http://www.m4nkind.com \____/