Platforms to show: All Mac Windows Linux Cross-Platform
CFNumberMBS class
Super class: CFObjectMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | CoreFoundation | MBS MacCF Plugin | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
If the release property is true, the destructor of this class will release the number reference.
Subclass of the CFObjectMBS class.
- 10 properties
- property ByteSize as Integer
- property doubleValue as Double
- property int16Value as Int16
- property int32Value as Int32
- property int64Value as Int64
- property int8Value as Int8
- property integerValue as Integer
- property isFloat as boolean
- property NumberType as Integer
- property singleValue as single
- method Compare(other as CFNumberMBS) as Integer
- 6 shared methods
- shared method NewWithDouble(value as Double) as CFNumberMBS
- shared method NewWithInt16(value as Int16) as CFNumberMBS
- shared method NewWithInt32(value as Int32) as CFNumberMBS
- shared method NewWithInt64(value as Int64) as CFNumberMBS
- shared method NewWithInt8(value as Int8) as CFNumberMBS
- shared method NewWithSingle(value as Single) as CFNumberMBS
Super class CFObjectMBS
- 5 properties
- property Handle as Integer
- property Hash as Integer
- property Lasterror as Integer
- property Type as Integer
- property TypeDescription as String
- 9 methods
- method close
- method DeepCopy as CFObjectMBS
- method EncodedData as MemoryBlock
- method Equal(o as CFObjectMBS) as boolean
- method ReleaseObject
- method RetainCount as Integer
- method RetainObject
- method XML as CFBinaryDataMBS
- method XMLdata as String
- shared method NewCFObject(handle as Integer) as CFObjectMBS
This class has no sub classes.
Some useful global functions for this class:
- kCFNumberMBSNaN as CFNumberMBS
- kCFNumberMBSNegativeInfinity as CFNumberMBS
- kCFNumberMBSPositiveInfinity as CFNumberMBS
- NewCFNumberMBSDouble(doubleValue as Double) as CFNumberMBS
- NewCFNumberMBSInteger(integerValue as Integer) as CFNumberMBS
- NewCFNumberMBSSingle(singleValue as single) as CFNumberMBS
Some examples using this class:
- /MacCF/Darwin Drive Statistics
- /MacCF/IOPowerSources
- /MacCF/MacOSXProxySettings
- /MacCF/MIDI/MIDI Devices
- /MacCF/SystemConfiguration/MacOSXProxySettings
- /MacCF/SystemConfiguration/Preferences Test
- /MacExtras/Sparkle/UpdaterKit/Updater Example
- /MacOSX/Accessibility services/Accessible Browser
- /Util/Process/Process Information
Blog Entries
The items on this page are in the following plugins: MBS MacCF Plugin.
CFMutableStringMBS - CFObjectMBS