Samond Classes Library 1.1.6-RELEASE build 132

SCCommon Class Reference

Common functions class. More...

#import <SCCommon.h>

Inheritance diagram for SCCommon:
SCObject <SCDictionaryObjectProtocol> <SCCodingProtocol> <SCStreamProtocol> <SCCollectionProtocol>

List of all members.

Static Public Member Functions

Library Common Methods
(BOOL) + isIntegerExceeded:capacity:
(SCUInteger+ maskWithLength:
(SCUInteger+ binaryPower:capacity:
(SCUInteger+ binaryPower:
(SCUInteger+ sclBuild
(NSString *) + version
(NSString *) + fullVersion
(NSString *) + libraryInformation
(NSString *) + compilationDate
(NSString *) + compilationTime
(NSString *) + compilationDateTime
(NSString *) + compilationString

Detailed Description

Common functions class.

Class contains some functions, which cannot be included in other classes of categories.
This class was introduced in version 1.0.3.


Member Function Documentation

+ (SCUInteger) binaryPower: (SCUInteger source

Returns a power of two greater than or oqual to the specified integer with 32-bit capacity.

Parameters:
source- source integer variable
Returns:
A power of two
+ (SCUInteger) binaryPower: (SCUInteger source
capacity: (SCCapacity capacity 

Returns a power of two greater than or equal to the specified integer and capacity.

Parameters:
source- source integer variable
capacity- source capacity
Returns:
A power of two
+ (NSString *) compilationDate

Returns the string with the library compilation date.

Returns:
A library comiplation date
+ (NSString *) compilationDateTime

Returns the string with the library compilation date and time.

Returns:
A library compilation date and time
+ (NSString *) compilationString

Returns the string with the library compilation information.

Returns:
A library compilation information
+ (NSString *) compilationTime

Returns the string with the library compilation time.

Returns:
A library compilation time
+ (NSString *) fullVersion

Returns a string with the full version of the library.

Returns:
A full version
+ (BOOL) isIntegerExceeded: (SCULong integer
capacity: (SCCapacity capacity 

Checks whether the specified integer passed this capacity.

Parameters:
integer- checked integer
capacity- capacity
Returns:
YES if integer passes capacity, otherwise NO
+ (NSString *) libraryInformation

Returns a string with the full information about the library.

Returns:
A full information
+ (SCUInteger) maskWithLength: (SCUInteger length

Returns binary representation of subnet mask with the specified length.

Parameters:
length- mask length
Returns:
Subnet mask
+ (SCUInteger) sclBuild

Returns a library current build number.

Returns:
A build number
+ (NSString *) version

Returns a string with the short version of the library.

Returns:
A short version

The documentation for this class was generated from the following files:
 All Classes Files Functions Typedefs Enumerations Enumerator Defines