|
Samond Classes Library 1.1.6-RELEASE build 132
|
Common functions class. More...
#import <SCCommon.h>
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 |
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.
| + (SCUInteger) binaryPower: | (SCUInteger) | source |
Returns a power of two greater than or oqual to the specified integer with 32-bit capacity.
| source | - source integer variable |
| + (SCUInteger) binaryPower: | (SCUInteger) | source | |
| capacity: | (SCCapacity) | capacity | |
Returns a power of two greater than or equal to the specified integer and capacity.
| source | - source integer variable |
| capacity | - source capacity |
| + (NSString *) compilationDate |
Returns the string with the library compilation date.
| + (NSString *) compilationDateTime |
Returns the string with the library compilation date and time.
| + (NSString *) compilationString |
Returns the string with the library compilation information.
| + (NSString *) compilationTime |
Returns the string with the library compilation time.
| + (NSString *) fullVersion |
Returns a string with the full version of the library.
| + (BOOL) isIntegerExceeded: | (SCULong) | integer | |
| capacity: | (SCCapacity) | capacity | |
Checks whether the specified integer passed this capacity.
| integer | - checked integer |
| capacity | - capacity |
| + (NSString *) libraryInformation |
Returns a string with the full information about the library.
| + (SCUInteger) maskWithLength: | (SCUInteger) | length |
Returns binary representation of subnet mask with the specified length.
| length | - mask length |
| + (SCUInteger) sclBuild |
Returns a library current build number.
| + (NSString *) version |
Returns a string with the short version of the library.
1.7.3