C# Class Fan.Sys.Pod

Pod is a module containing Types. A Pod is always backed by a FPod instance which defines all the definition tables. Usually the FPod is in turn backed by a FStore for the pod's zip file. However in the case of memory-only pods defined by the compiler, the fpod.store field will be null. Pods is loaded as soon as it is constructed: 1) All the types defined by the fpod are mapped into hollow Types. 2) It is emitted as a Java class called "fan.{podName}.$Pod". The emitted class is basically a manifestation of the literal tables, after which we can clear the fpod data structures.
Inheritance: FanObj
Datei anzeigen Open project: xored/f4 Class Usage Examples

Public Properties

Property Type Description
m_doc string

Public Methods

Method Description
@typeof ( ) : Type
close ( ) : void

Close the pod which should release any locks on the pod file. This method exists only for testing, and should not otherwise be used.

config ( string key ) : string
config ( string key, string def ) : string
depends ( ) : List
doFind ( string name, bool check, FPod fpod ) : Pod
doc ( ) : string
file ( Uri uri ) : Fan.Sys.File
file ( Uri uri, bool check ) : Fan.Sys.File
files ( ) : List
find ( string name ) : Pod
find ( string name, bool check ) : Pod
list ( ) : List
load ( InStream @in ) : Pod
locale ( string key ) : string
locale ( string key, string def ) : string
log ( ) : Log
meta ( ) : Map
name ( ) : string
of ( object obj ) : Pod
props ( Uri uri, Duration maxAge ) : Map
readFPod ( string name ) : FPod
toStr ( ) : string
type ( string name ) : Type
type ( string name, bool check ) : Type
types ( ) : List
uri ( ) : Uri
version ( ) : Version

Private Methods

Method Description
Pod ( FPod fpod ) : System
findType ( int qname ) : Type
load ( FPod fpod ) : void
loadFiles ( ) : void

Method Details

@typeof() public method

public @typeof ( ) : Type
return Type

close() public method

Close the pod which should release any locks on the pod file. This method exists only for testing, and should not otherwise be used.
public close ( ) : void
return void

config() public method

public config ( string key ) : string
key string
return string

config() public method

public config ( string key, string def ) : string
key string
def string
return string

depends() public method

public depends ( ) : List
return List

doFind() public static method

public static doFind ( string name, bool check, FPod fpod ) : Pod
name string
check bool
fpod Fanx.Fcode.FPod
return Pod

doc() public method

public doc ( ) : string
return string

file() public method

public file ( Uri uri ) : Fan.Sys.File
uri Uri
return Fan.Sys.File

file() public method

public file ( Uri uri, bool check ) : Fan.Sys.File
uri Uri
check bool
return Fan.Sys.File

files() public method

public files ( ) : List
return List

find() public static method

public static find ( string name ) : Pod
name string
return Pod

find() public static method

public static find ( string name, bool check ) : Pod
name string
check bool
return Pod

list() public static method

public static list ( ) : List
return List

load() public static method

public static load ( InStream @in ) : Pod
@in InStream
return Pod

locale() public method

public locale ( string key ) : string
key string
return string

locale() public method

public locale ( string key, string def ) : string
key string
def string
return string

log() public method

public log ( ) : Log
return Log

meta() public method

public meta ( ) : Map
return Map

name() public method

public name ( ) : string
return string

of() public static method

public static of ( object obj ) : Pod
obj object
return Pod

props() public method

public props ( Uri uri, Duration maxAge ) : Map
uri Uri
maxAge Duration
return Map

readFPod() public static method

public static readFPod ( string name ) : FPod
name string
return Fanx.Fcode.FPod

toStr() public method

public toStr ( ) : string
return string

type() public method

public type ( string name ) : Type
name string
return Type

type() public method

public type ( string name, bool check ) : Type
name string
check bool
return Type

types() public method

public types ( ) : List
return List

uri() public method

public uri ( ) : Uri
return Uri

version() public method

public version ( ) : Version
return Version

Property Details

m_doc public_oe property

public string m_doc
return string