Class: When::TM::TopologicalPrimitive
- Inherits:
-
Primitive
- Object
- BasicTypes::Object
- Object
- Primitive
- When::TM::TopologicalPrimitive
- Defined in:
- lib/when_exe/tmobjects.rb
Overview
時間位相プリミティブ - 単独で不可分な位相要素
see gml schema
Constant Summary
Constants included from Parts::Resource
Parts::Resource::ConstList, Parts::Resource::ConstTypes, Parts::Resource::IRIDecode, Parts::Resource::IRIDecodeTable, Parts::Resource::IRIEncode, Parts::Resource::IRIEncodeTable, Parts::Resource::IRIHeader, Parts::Resource::LabelProperty
Constants included from Namespace
Namespace::DC, Namespace::DCQ, Namespace::DCT, Namespace::FOAF, Namespace::OWL, Namespace::RDF, Namespace::RDFC, Namespace::RDFS, Namespace::RSS, Namespace::XSD
Instance Attribute Summary collapse
-
#complex ⇒ Array<When::TM::TopologicalComplex>
対応するコンプレックス (relation - Complex).
Attributes inherited from BasicTypes::Object
Attributes included from Parts::Resource
#_pool, #child, #keys, #locale, #namespace
Instance Method Summary collapse
-
#initialize ⇒ TopologicalPrimitive
constructor
オブジェクトの生成.
Methods included from Order
Methods included from Parts::Resource
#[], #^, _abbreviation_to_iri, _decode, _encode, _extract_prefix, _instance, _instantiate, _parse, _path_with_prefix, _replace_tags, _setup_, _setup_info, _simplify_path, base_uri, #each, #enum_for, #hierarchy, #include?, #included?, #iri, #leaf?, #m17n, #map, #parent, #registered?, root_dir
Methods included from Parts::Resource::Pool
#[], #[]=, #_pool, #_setup_, #pool_keys
Methods included from Parts::Resource::Synchronize
Constructor Details
#initialize ⇒ TopologicalPrimitive
オブジェクトの生成
419 420 421 |
# File 'lib/when_exe/tmobjects.rb', line 419 def initialize @complex = [] end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(name, *args, &block) ⇒ Object (private)
When::TM::TopologicalPrimitive で定義されていないメソッドは 処理を @geometry (type: When::TM::Instant) に委譲する
その他のメソッド
433 434 435 436 437 438 439 440 441 442 443 444 |
# File 'lib/when_exe/tmobjects.rb', line 433 def method_missing(name, *args, &block) return _method_missing(name, *args, &block) if When::Parts::MethodCash::Escape.key?(name) || !respond_to?(:geometry) self.class.module_eval %Q{ def #{name}(*args, &block) list = args.map {|arg| arg.respond_to?(:geometry) ? arg.geometry : arg} geometry.send("#{name}", *list, &block) end } unless When::Parts::MethodCash.escape(name) list = args.map {|arg| arg.respond_to?(:geometry) ? arg.geometry : arg} geometry.send(name, *list, &block) end |
Instance Attribute Details
#complex ⇒ Array<When::TM::TopologicalComplex>
対応するコンプレックス (relation - Complex)
414 415 416 |
# File 'lib/when_exe/tmobjects.rb', line 414 def complex @complex end |