IDLObject

Inherits From:
NSObject

Declared In:
ADORB/IDLObject.h

Class Description

Purpose

IDLObject can be used as a value for valuetypes and struct IDL types. You can access the members' values using methods valueForKey: and setValue:forKey:. Valuetypes and struct are unmarshaled by default into the instances of IDLObject class.

Class Methods

+ objectWithIDLType:(id<IDLDefinition>)type

Returns autoreleased instance of IDLObject with IDL type set to type.

Instance Methods

- initWithIDLType:(id<IDLDefinition>)type

Initializes new IDLObject with IDL type set to type.

- init

Initializes new IDLObject with IDL type set to nil.

- (id<IDLDefinition>)idlType

Returns receiver's IDL type.

- (IDLValueType *)valuetype

If the receiver's IDL type is a valuetype then returns the receiver's IDL type. Otherwise returns nil;

- valueForKey:(NSString*)key

KVC method.

- (void)setValue:value forKey:(NSString*)key

KVC method.