iflDataIsIntegral man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



iflDataSize(3)	  Image Format Library C++ Reference Manual	iflDataSize(3)

NAME
     iflDataClosestType, iflDataIsIntegral, iflDataIsSigned, iflDataMax,
     iflDataMin, iflDataSize, iflDataTypeFromRange - convenience functions for
     using IFL data types

SYNOPSIS
     #include <ifl/iflCdefs.h>

	  iflDataType iflDataClosestType(iflDataType desired,
					 int allowed, int flags)
	  int iflDataIsIntegral(iflDataType type)
	  int iflDataIsSigned(iflDataType type)
	  double iflDataMax(iflDataType type)
	  double iflDataMin(iflDataType type)
	  int iflDataSize(iflDataType type, int count=1)
	  iflDataType iflDataTypeFromRange(double minVal, double maxVal)

DESCRIPTION
     These functions operate on IFL data types and are provided for
     convenience.  Each function is standalone and is not a member function of
     any object.

     The data types used in the IFL are specified by the enumerated type,
     iflType, as defined in <ifl/iflTypes.h>. The following IFL data types are
     valid:  iflBit, iflUChar, iflChar, iflUShort, iflShort, iflUInt, iflInt,
     iflFloat, iflDouble.

     iflDataClosestType() returns the data type closest to the desired type in
     the set specified by the mask of data types in allowed. The flags
     parameter is the logical or of any of the folowing options:

	  iflDataWantSigned   consider only signed types from allowed (unless
			      there aren't any, then fall back on unsigned
			      values)

	  iflDataAnySign      consider both signed and unsigned types.	The
			      default behaviour is to consider types that
			      match the signed/unsigned nature of desired.

	  iflDataDemote	      don't allow type promotion; only consider types
			      of the same size of smaller.

     iflDataIsIntegral returns TRUE if type is an integral valued IFL type. If
     type is a floating point IFL type, then FALSE is returned.

     iflDataIsSigned() returns TRUE if type is a signed IFL type. If type is
     an unsigned IFL type, then FALSE is returned.

									Page 1

iflDataSize(3)	  Image Format Library C++ Reference Manual	iflDataSize(3)

     iflDataMax() returns the maximum value possible for the given data type,
     type.

     iflDataMin() returns the minimum value possible for the given IFL data
     type, type.

     iflDataSize() returns the size in bytes required to hold the number of
     values specified by count, of the given data type, type.

     iflDataTypeFromRange() returns the IFL data type required to hold the
     range of values specified by minVal and maxVal.

SEE ALSO
     ifl/iflTypes.h

									Page 2

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net