/BEE.framework/BEE/BEEDumb.h
http://eeframework.googlecode.com/ · C Header · 48 lines · 16 code · 12 blank · 20 comment · 0 complexity · 2e70786da75b77d0cd85d995f6eecae2 MD5 · raw file
- // -*- objc -*-
- /*
- The purpose of BEEDumb is to store an object with references to other objects
- without storage place exhausting. Each reference is converted to BEEDumb. BEEDumb
- contains the class name of the original and the original's oid.
- */
- #ifndef __BEEDUMB_H__
- #define __BEEDUMB_H__
- @interface BEEDumb : NSObject <NSCoding>
- {
- NSString *_className;
- NSDecimalNumber *_oid;
- }
- - (id)init;
- - (void)dealloc;
- /* Foundation specific */
- - (void)forwardInvocation:(NSInvocation *)anInvocation;
- /* BEE specofic */
- /**
- * Returns the class name of the original object.
- */
- - (NSString *)objectClassName;
- /**
- * Returns the oid of the original.
- */
- - (NSDecimalNumber *)oid;
- /**
- * Sets the class name of the original object.
- */
- - (void)setObjectClassName:(NSString *)name;
- /**
- * Sets the original's oid
- */
- - (void)setOid:(NSDecimalNumber *)oid;
- @end /* BEEDumb */
- #endif /* __BEEDUMB_H__ */