Samond Classes Library 1.1.6-RELEASE build 132

SCTypes.h

Go to the documentation of this file.
00001 /*
00002  *  SCTypes.h
00003  *  scl
00004  *
00005  *  Created by Viacheslav Smolensky on 22.02.09.
00006  *  Copyright (c) 2007 - 2014 by Samond Development Corporation. All rights reserved.
00007  *
00008  */
00009 
00010 #import <syslog.h>
00011 #ifdef IOS_TARGET
00012 #import <UIKit/UIKit.h>
00013 #endif
00014 
00023 #pragma mark -
00024 #pragma mark Standard types
00025 
00031 enum _SCStandardType {
00032         SCTypeUnspecified       = 0,    
00033         SCTypeByte                      = 1,    
00034         SCTypeShort                     = 2,    
00035         SCTypeInteger           = 3,    
00036         SCTypeLong                      = 4,    
00037         SCTypeUByte                     = 5,    
00038         SCTypeUShort            = 6,    
00039         SCTypeUInteger          = 7,    
00040         SCTypeULong                     = 8,    
00041         SCTypeFloat                     = 9,    
00042         SCTypeDouble            = 10,   
00043         SCTypeChar                      = 11,   
00044         SCTypeBool                      = 12,   
00045         SCTypeUChar                     = 13,   
00046         SCTypeSignedLong        = 14,   
00047         SCTypeUnsignedLong  = 15,       
00048 };
00049 
00055 typedef enum _SCStandardType SCStandardType;
00056 
00057 typedef int8_t  SCByte;         
00058 typedef int16_t SCShort;        
00059 typedef int32_t SCInteger;      
00060 typedef int64_t SCLong;         
00061 
00062 typedef uint8_t  SCUByte;       
00063 typedef uint16_t SCUShort;      
00064 typedef uint32_t SCUInteger;    
00065 typedef uint64_t SCULong;       
00066 
00067 typedef float_t  SCFloat;       
00068 typedef double_t SCDouble;      
00069 
00070 #pragma mark -
00071 #pragma mark Specialized types
00072 
00073 typedef mode_t  SCFileMode;             
00074 typedef off_t   SCOffset;               
00075 typedef size_t  SCUSize;                
00076 typedef ssize_t SCSize;                 
00077 
00078 #pragma mark -
00079 #pragma mark Array support types
00080 
00087 typedef SCULong SCIndex;
00088 
00089 #pragma mark -
00090 #pragma mark Other types
00091 
00097 enum _SCCapacity {
00098         SCByteCapacity = 8,  
00099         SCWordCapacity = 16, 
00100         SCIntCapacity  = 32, 
00101         SCLongCapacity = 64  
00102 };
00103 
00109 typedef enum _SCCapacity SCCapacity;
00110 
00116 typedef SCUShort SCTCPPort;
00117 
00123 typedef SCInteger SCSystemError;
 All Classes Files Functions Typedefs Enumerations Enumerator Defines