table of contents
Property List(3m17n) | The m17n Library | Property List(3m17n) |
NAME¶
Property_List - Property List objects and API for them.Typedefs¶
typedef struct MPlist MPlist
Functions¶
MPlist * mplist_deserialize (MText *mt)
Variables¶
MSymbol Minteger
Detailed Description¶
Property List objects and API for them. A property list (or plist for short) is a list of zero or more properties. A property consists of a key and a value, where key is a symbol and value is anything that can be cast to (void *). If the key of a property is a managing key, its value is a managed object. A property list itself is a managed objects. If each key of a plist is one of Msymbol, Mtext, Minteger, and Mplist, the plist is called as well-formed and represented by the following notation in the documentation.PLIST ::= '(' ELEMENT * ')' ELEMENT ::= INTEGER | SYMBOL | M-TEXT | PLIST M-TEXT ::= '"' text data ... '"'For instance, if a plist has four elements; integer -20, symbol of name 'sym', M-text of contents 'abc', and plist of integer 10 and symbol of name 'another-symbol', it is represented as this: (-20 sym 'abc' (10 another-symbol))
Typedef Documentation¶
typedef struct MPlist MPlist¶
Type of property list objects. The type MPlist is for a property list object. Its internal structure is concealed from application programs.Variable Documentation¶
MSymbol Minteger¶
Symbol whose name is 'integer'. The symbol Minteger has the name 'integer'. The value of a property whose key is Minteger must be an integer.MSymbol Mplist¶
Symbol whose name is 'plist'. The symbol Mplist has the name 'plist'. It is a managing key. A value of a property whose key is Mplist must be a plist.MSymbol Mtext¶
Symbol whose name is 'mtext'. The symbol Mtext has the name 'mtext'. It is a managing key. A value of a property whose key is Mtext must be an M-text.Author¶
Generated automatically by Doxygen for The m17n Library from the source code.COPYRIGHT¶
Copyright (C) 2001 Information-technology Promotion Agency (IPA)12 Jan 2011 | Version 1.6.2 |