C# Класс 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.
Наследование: FanObj
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
m_doc string

Открытые методы

Метод Описание
@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

Приватные методы

Метод Описание
Pod ( FPod fpod ) : System
findType ( int qname ) : Type
load ( FPod fpod ) : void
loadFiles ( ) : void

Описание методов

@typeof() публичный Метод

public @typeof ( ) : Type
Результат Type

close() публичный Метод

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
Результат void

config() публичный Метод

public config ( string key ) : string
key string
Результат string

config() публичный Метод

public config ( string key, string def ) : string
key string
def string
Результат string

depends() публичный Метод

public depends ( ) : List
Результат List

doFind() публичный статический Метод

public static doFind ( string name, bool check, FPod fpod ) : Pod
name string
check bool
fpod Fanx.Fcode.FPod
Результат Pod

doc() публичный Метод

public doc ( ) : string
Результат string

file() публичный Метод

public file ( Uri uri ) : Fan.Sys.File
uri Uri
Результат Fan.Sys.File

file() публичный Метод

public file ( Uri uri, bool check ) : Fan.Sys.File
uri Uri
check bool
Результат Fan.Sys.File

files() публичный Метод

public files ( ) : List
Результат List

find() публичный статический Метод

public static find ( string name ) : Pod
name string
Результат Pod

find() публичный статический Метод

public static find ( string name, bool check ) : Pod
name string
check bool
Результат Pod

list() публичный статический Метод

public static list ( ) : List
Результат List

load() публичный статический Метод

public static load ( InStream @in ) : Pod
@in InStream
Результат Pod

locale() публичный Метод

public locale ( string key ) : string
key string
Результат string

locale() публичный Метод

public locale ( string key, string def ) : string
key string
def string
Результат string

log() публичный Метод

public log ( ) : Log
Результат Log

meta() публичный Метод

public meta ( ) : Map
Результат Map

name() публичный Метод

public name ( ) : string
Результат string

of() публичный статический Метод

public static of ( object obj ) : Pod
obj object
Результат Pod

props() публичный Метод

public props ( Uri uri, Duration maxAge ) : Map
uri Uri
maxAge Duration
Результат Map

readFPod() публичный статический Метод

public static readFPod ( string name ) : FPod
name string
Результат Fanx.Fcode.FPod

toStr() публичный Метод

public toStr ( ) : string
Результат string

type() публичный Метод

public type ( string name ) : Type
name string
Результат Type

type() публичный Метод

public type ( string name, bool check ) : Type
name string
check bool
Результат Type

types() публичный Метод

public types ( ) : List
Результат List

uri() публичный Метод

public uri ( ) : Uri
Результат Uri

version() публичный Метод

public version ( ) : Version
Результат Version

Описание свойств

m_doc публичное свойство

public string m_doc
Результат string