Samond Classes Library 1.2.6-STABLE build 219
SCTypes.h File Reference

Library types header file. More...

#import <Foundation/Foundation.h>

Go to the source code of this file.

Standard Data Types

typedef Class SCClass
 
typedef char * SCCharString
 
typedef SEL SCSelector
 
typedef id SCID
 
typedef bool SCBool
 
typedef unsigned char SCUChar
 
typedef uint32_t SCUInteger
 
typedef unsigned long SCUnsignedLong
 
typedef NSNull SCNull
 
typedef uint64_t SCULong
 
typedef uint16_t SCUShort
 
typedef NSURL SCURL
 
typedef NSValue SCValue
 
typedef int8_t SCByte
 
typedef char SCChar
 
typedef double SCDouble
 
typedef NSDate SCDate
 
typedef float SCFloat
 
typedef int32_t SCInteger
 
typedef long SCSignedLong
 
typedef NSDecimalNumber SCDecimal
 
typedef NSNumber SCNumber
 
typedef int64_t SCLong
 
typedef const char * SCConstString
 
typedef int16_t SCShort
 
typedef NSString SCString
 
typedef void SCVoid
 
typedef uint8_t SCUByte
 

Specialized Data Types

typedef size_t SCSize
 

Unified Data Types System Support

enum  SCDataType {
  SCTypeClass = 0x23, SCTypeCharString = 0x2A, SCTypeSelector = 0x3A, SCTypeUnspecified = 0x3F,
  SCTypeObject = 0x40, SCTypeArray = 0x41, SCTypeBool = 0x42, SCTypeUChar = 0x43,
  SCTypeDictionary = 0x44, SCTypeDataSet = 0x45, SCTypeGUID = 0x47, SCTypeUInteger = 0x49,
  SCTypeUnsignedLong = 0x4C, SCTypeNull = 0x4E, SCTypeCursor = 0x4F, SCTypeNSInteger = 0x50,
  SCTypeULong = 0x51, SCTypeRowID = 0x52, SCTypeUShort = 0x53, SCTypeSet = 0x54,
  SCTypeURL = 0x55, SCTypeValue = 0x56, SCTypeXML = 0x58, SCTypeByte = 0x59,
  SCTypeData = 0x5A, SCTypePointer = 0x5E, SCTypeBitmap = 0x62, SCTypeChar = 0x63,
  SCTypeDouble = 0x64, SCTypeDate = 0x65, SCTypeFloat = 0x66, SCTypeConfig = 0x67,
  SCTypeInteger = 0x69, SCTypeSignedLong = 0x6C, SCTypeDecimal = 0x6D, SCTypeNumber = 0x6E,
  SCTypeNSUInteger = 0x70, SCTypeLong = 0x71, SCTypeConstString = 0x72, SCTypeShort = 0x73,
  SCTypeString = 0x74, SCTypeVoid = 0x76, SCTypeUByte = 0x79
}
 
enum  SCArgumentType {
  SCArgumentUnspecified = 0x3F, SCArgumentReturn = 0x45, SCArgumentInputOutput = 0x4E, SCArgumentCopy = 0x4F,
  SCArgumentReference = 0x52, SCArgumentOneWay = 0x56, SCArgumentInput = 0x6E, SCArgumentOutput = 0x6F,
  SCArgumentConst = 0x72
}
 

Other Data Type

enum  SCCapacity { SCByteCapacity = 8, SCWordCapacity = 16, SCIntCapacity = 32, SCLongCapacity = 64 }
 
enum  SCIntegerBase { SCBinaryBase = 2, SCOctalBase = 8, SCDecimalBase = 10, SCHexadecimalBase = 16 }
 

Detailed Description

Library types header file.

SDK
macOS 10.6+, iOS 7.0+, GNUstep
Since
version 1.0.0

Declares the library data types, which are using in other library units.

Typedef Documentation

typedef bool SCBool

Boolean type

typedef int8_t SCByte

Signed 8-bit integer data type

typedef char SCChar

Signed char type

typedef char* SCCharString

Character string

typedef Class SCClass

Class type

typedef const char* SCConstString

Constant character string

typedef NSDate SCDate

Date type

typedef NSDecimalNumber SCDecimal

Decimal number object type

typedef double SCDouble

Double data type

typedef float SCFloat

Float data type

typedef id SCID

Object type

typedef int32_t SCInteger

Signed 32-bit integer data type

typedef int64_t SCLong

Signed 64-bit integer data type

typedef NSNull SCNull

Null object type

typedef NSNumber SCNumber

Number object type

typedef SEL SCSelector

Class method selector

typedef int16_t SCShort

Signed 16-bit integer data type

typedef long SCSignedLong

Signed long integer type

typedef size_t SCSize

Unsigned object size data type

typedef NSString SCString

String object type

typedef uint8_t SCUByte

Unsigned 8-bit integer data type

typedef unsigned char SCUChar

Unsigned character type

typedef uint32_t SCUInteger

Unsigned 32-bit integer data type

typedef uint64_t SCULong

Unsigned 64-bit integer data type

typedef unsigned long SCUnsignedLong

Unsigned long integer data type

typedef NSURL SCURL

URL object type

typedef uint16_t SCUShort

Unsigned 16-bit integer data type

typedef NSValue SCValue

Value object type

typedef void SCVoid

Void type

Enumeration Type Documentation

Declares a set of constants that indicate a call argument types

Enumerator
SCArgumentUnspecified 

Unspecified argument type

SCArgumentReturn 

Function or method return type

SCArgumentInputOutput 

Argument transfers data into and from a call unit

SCArgumentCopy 

Argument transfers by copy of a data

SCArgumentReference 

Argument transfers data by using a reference

SCArgumentOneWay 

One way argument

SCArgumentInput 

Argument transfers data into a call unit

SCArgumentOutput 

Argument transfers data from a call unit

SCArgumentConst 

Constant argument

enum SCCapacity

Declares a set of constants that indicate a capacity of an integer values (8, 16, 32 and 64 bits).

Enumerator
SCByteCapacity 

8-bit integer value

SCWordCapacity 

16-bit integer value

SCIntCapacity 

32-bit integer value

SCLongCapacity 

64-bit integer value

enum SCDataType

Declares a list of data types that supported by Unified Data Type System

Since
version 1.2.5
Enumerator
SCTypeClass 

Class type

SCTypeCharString 

Character string type

SCTypeSelector 

Method selector type

SCTypeUnspecified 

Unspecified data type

SCTypeObject 

Object data type

SCTypeArray 

Array type

SCTypeBool 

Boolean data type

SCTypeUChar 

Unsigned character data type

SCTypeDictionary 

Dictionary type

SCTypeDataSet 

Data set type

SCTypeGUID 

GUID data type

SCTypeUInteger 

Unsigned 32-bit integer data type

SCTypeUnsignedLong 

Unsigned long intgeger data type

SCTypeNull 

Class type for null (empty) values

SCTypeCursor 

Data cursor type

SCTypeNSInteger 

NSInteger data type

SCTypeULong 

Unsigned 64-bit integer data type

SCTypeRowID 

Row ID data type

SCTypeUShort 

Unsigned 16-bit integer data type

SCTypeSet 

Unordered set type

SCTypeURL 

URL type

SCTypeValue 

Value class type

SCTypeXML 

XML data type

SCTypeByte 

Signed 8-bit integer data type

SCTypeData 

Binary data type

SCTypePointer 

Data pointer type

SCTypeBitmap 

Bit array (bitmap) data type

SCTypeChar 

Signed character data type

SCTypeDouble 

Double data type

SCTypeDate 

Date and time data type

SCTypeFloat 

Float data type

SCTypeConfig 

Configuration data type

SCTypeInteger 

Signed 32-bit integer data type

SCTypeSignedLong 

Signed long integer data type

SCTypeDecimal 

Decimal number data type

SCTypeNumber 

Number data type

SCTypeNSUInteger 

NSUInteger data type

SCTypeLong 

Signed 64-bit integer data type

SCTypeConstString 

Constant character type

SCTypeShort 

Signed 16-bit integer data type

SCTypeString 

String data type

SCTypeVoid 

Void data type

SCTypeUByte 

Unsigned 8-bit integer data type

Declares a set of contants that indicate a base of an integer values (binary, octal, decimal or hexadecimal).

Enumerator
SCBinaryBase 

Binary integer value

SCOctalBase 

Octal integer value

SCDecimalBase 

Decimal integer value

SCHexadecimalBase 

Hexadecimal integer value