Hoa central
Public Member Functions | Public Attributes | Protected Attributes | List of all members
Hoa\Realdom\Relation Class Reference
Inheritance diagram for Hoa\Realdom\Relation:

Public Member Functions

 construct ()
 
- Public Member Functions inherited from Hoa\Realdom\RealdomArray
 reset ()
 
- Public Member Functions inherited from Hoa\Realdom\Realdom
 __construct ()
 
 offsetExists ($offset)
 
 offsetGet ($offset)
 
 offsetSet ($offset, $value)
 
 offsetUnset ($offset)
 
 getArguments ()
 
 count ()
 
 getName ()
 
 setSampler (Math\Sampler $sampler)
 
 getSampler ()
 
 getValue ()
 
 reset ()
 
 predicate ($q)
 
 sample (Math\Sampler $sampler=null)
 
 intersectWith (Realdom $realdom)
 
 setConstraints (Array &$constraints)
 
 propagateConstraints ($type, $index)
 
 is ($qualifier)
 
 setHolder (IRealdom\Holder $holder)
 
 getHolder ()
 
 setPraspelVisitor (Visitor\Visit $visitor)
 
 getPraspelVisitor ()
 
 accept (Visitor\Visit $visitor, &$handle=null, $eldnah=null)
 
- Public Member Functions inherited from Hoa\Visitor\Element
 accept (Visit $visitor, &$handle=null, $eldnah=null)
 

Public Attributes

const NAME = 'relation'
 
- Public Attributes inherited from Hoa\Realdom\RealdomArray
const NAME = 'array'
 
- Public Attributes inherited from Hoa\Realdom\Realdom
const NAME = '(null)'
 

Protected Attributes

 $_arguments
 
- Protected Attributes inherited from Hoa\Realdom\RealdomArray
 $_arguments
 
- Protected Attributes inherited from Hoa\Realdom\Realdom
 $_arguments = null
 
 $arguments = null
 
 $__sampler = null
 
 $_value = null
 
 $_constraints = null
 
 $_holder = null
 
 $_constructed = false
 
 $_praspelVisitor = null
 

Additional Inherited Members

- Static Public Member Functions inherited from Hoa\Realdom\Realdom
static autoBoxing (Array &$arguments, Realdom $self=null)
 
static setDefaultSampler (Math\Sampler $sampler)
 
static getDefaultSampler ()
 
static setMaxTry ($maxtry)
 
static getMaxTry ()
 
static setDefaultPraspelVisitor (Visitor\Visit $visitor)
 
static getDefaultPraspelVisitor ()
 
- Protected Member Functions inherited from Hoa\Realdom\RealdomArray
 construct ()
 
 _predicate ($q)
 
 _sample (Math\Sampler $sampler)
 
 _propagateConstraints ($type, $index, Array &$constraints)
 
 adjustLength ()
 
- Protected Member Functions inherited from Hoa\Realdom\Realdom
 construct ()
 
 setValue ($sampled)
 
 resetArguments ()
 
 _predicate ($q)
 
 _sample (Math\Sampler $sampler)
 
getConstraints ()
 
 _propagateConstraints ($type, $index, Array &$constraints)
 
- Static Protected Attributes inherited from Hoa\Realdom\Realdom
static $_sampler = null
 
static $_maxtry = 64
 
static $_defaultPraspelVisitor = null
 

Detailed Description

Class .

Realistic domain: relation.

Definition at line 47 of file Relation.php.

Member Function Documentation

Hoa\Realdom\Relation::construct ( )

Definition at line 68 of file Relation.php.

69  {
70  $this['pairs'] = new Constarray([[
71  0 => realdom()->natural(),
72  1 => realdom()->class($this['classname']->getConstantValue())
73  ]]);
74 
75  parent::construct();
76 
77  return;
78  }

Member Data Documentation

Hoa\Realdom\Relation::$_arguments
protected
Initial value:
= [
'Conststring classname',
'Integer length'
]

Definition at line 61 of file Relation.php.

const Hoa\Realdom\Relation::NAME = 'relation'

Realistic domain name.

string

Definition at line 54 of file Relation.php.


The documentation for this class was generated from the following file: