[system] / trunk / pg / lib / Value.pm Repository:
ViewVC logotype

Diff of /trunk/pg/lib/Value.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 3259 Revision 3261
324# 324#
325# Return various information about the object 325# Return various information about the object
326# 326#
327sub value {return @{(shift)->{data}}} # the value of the object (as an array) 327sub value {return @{(shift)->{data}}} # the value of the object (as an array)
328sub data {return (shift)->{data}} # the reference to the value 328sub data {return (shift)->{data}} # the reference to the value
329sub length {return (shift)->typeRef->{length}} # the number of coordinates 329sub length {return scalar(@{(shift)->{data}})} # the number of coordinates
330sub type {return (shift)->typeRef->{name}} # the object type 330sub type {return (shift)->typeRef->{name}} # the object type
331sub entryType {return (shift)->typeRef->{entryType}} # the coordinate type 331sub entryType {return (shift)->typeRef->{entryType}} # the coordinate type
332# 332#
333# The the full type-hash for the item 333# The the full type-hash for the item
334# 334#

Legend:
Removed from v.3259  
changed lines
  Added in v.3261

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9