Documentation

COPath class documentation

COPath : NSObject <NSCopying>

COPath represents a cross-persistent root reference to the root object of a persistent root.

AuthorsGenerated by qmathe
Declared inCOPath.h

Overview

It can either point to whatever the current branch is when the COPath is dereferenced, or can point to a specific branch.

COPath is used as a value object inside COItem.

Initialization

+ (COPath *) pathWithPersistentRoot: (ETUUID *)aRoot

Returns a new path that implicitly points to the root object of the current branch.

+ (COPath *) pathWithPersistentRoot: (ETUUID *)aRoot branch: (ETUUID *)aBranch

Returns a new path that implicitly points to the root object.

Reference Properties

- (ETUUID *) persistentRoot

The UUID of the referenced persistent root.

Never nil.

- (ETUUID *) branch

The UUID of the referenced branch.

May be nil, which indicates that the path points to whatever the current branch of persistentRoot is.

Persistent String Representation

+ (COPath *) pathWithString: (NSString *)pathString

Returns a new path from a string representation such as -stringValue .

- (NSString *) stringValue

Returns a string representation of the path.

AltStyle によって変換されたページ (->オリジナル) /