token

Section: OATH Reference Manual (3O)
Updated: 1 Aug 1991
Index Return to Main Contents
 

NAME

token (tokenA, tokenG) - a unique value  

SYNOPSIS

#include <oath/token.h>  

DESCRIPTION

Each token is a unique value -- that is, T1.is(T2) is the same as T1 == T2. Thus for tokens, the obj operations ==, !=, and makeCopy are inexpensive, all equal tokens share the same memory space for their representation, and creation of a new token may be slower since a lookup must be performed.  

DERIVATION

token : obj

token is an abstract type.  

STATIC OPERATIONS

tokenA tokenA:: isa (objA)
tokenA::isa(O) returns O if it is truly a token; otherwise it returns Nil.
 

MEMBER OPERATIONS

int tokenA:: isConst ()
T.isConst() returns TRUE (all tokens are const).
int tokenA:: isEqual (objA)
T1.isEqual(T2) is the same as T1.is(T2).
tokenA tokenA:: makeCopy (int)
T.makeCopy() returns T.
 

INTERNAL OPERATIONS

 

SEE ALSO

OATH(3O), obj(3O)  

AUTHOR

Brian M. Kennedy (Computer Science Center, Texas Instruments Incorporated)  

BUGS


 

Index

NAME
SYNOPSIS
DESCRIPTION
DERIVATION
STATIC OPERATIONS
MEMBER OPERATIONS
INTERNAL OPERATIONS
SEE ALSO
AUTHOR
BUGS

This document was created by man2html, using the manual pages.
Time: 20:37:47 GMT, July 24, 2024