Documentation
¶
Overview ¶
file objvalmo/globals.go it should be generated
Index ¶
- Constants
- func DoTinyDump1(tempdir string)
- func DumpIntoDirectory(dirname string)
- func DumpScanGlobalVariables(du *DumperMo)
- func DumpScanPredefined(du *DumperMo)
- func EmitJsonValueInBuffer(vem JsonValEmitterMo, buf *bytes.Buffer, v ValueMo)
- func EnableSqliteLog()
- func EncodeJsonValue(vem JsonValEmitterMo, enc *json.Encoder, v ValueMo)
- func HashObptr(po *ObjectMo) serialmo.HashMo
- func LessColInt(cil ColIntV, cir ColIntV) bool
- func LessColRef(cil ColRefV, cir ColRefV) bool
- func LessColString(cil ColStringV, cir ColStringV) bool
- func LessEqualColInt(cil ColIntV, cir ColIntV) bool
- func LessEqualColRef(cil ColRefV, cir ColRefV) bool
- func LessEqualColstr(cil ColStringV, cir ColStringV) bool
- func LessEqualObptr(pol *ObjectMo, por *ObjectMo) bool
- func LessObptr(pol *ObjectMo, por *ObjectMo) bool
- func LoadFromDirectory(dirname string)
- func NamesGlobalVariables() []string
- func RegisterGlobalVariable(vnam string, advar **ObjectMo)
- func RegisterPayload(pname string, ploader PayloadLoaderMo)
- func StringHash(s string) serialmo.HashMo
- func UnregisterGlobalVariable(vnam string)
- func ValToJson(vem JsonValEmitterMo, v ValueMo) interface{}
- type ColIntV
- type ColIntVMo
- type ColRefV
- func (ci ColRefV) ColorId() serialmo.IdentMo
- func (ci ColRefV) ColorRef() *ObjectMo
- func (ci ColRefV) DumpScan(du *DumperMo)
- func (ci ColRefV) Hash() serialmo.HashMo
- func (ci ColRefV) ObjId() serialmo.IdentMo
- func (ci ColRefV) ObjRef() *ObjectMo
- func (ci ColRefV) ToString() string
- func (ci ColRefV) TypeV() uint
- type ColRefVMo
- type ColStringV
- type ColStringVMo
- type DumperMo
- type EmitterFunction_t
- type FloatV
- type FloatVMo
- type IntV
- type IntVMo
- type JsonSimpleValEmitter
- type JsonSimpleValParser
- type JsonValEmitterMo
- type JsonValParserMo
- type LoaderMo
- type ObjectMo
- func FindObjectById(id serialmo.IdentMo) *ObjectMo
- func FindObjectByTwoNums(hi uint64, lo uint64) *ObjectMo
- func FindOrMakeObjectById(id serialmo.IdentMo) (*ObjectMo, bool)
- func GlobalVariableAddress(vnam string) **ObjectMo
- func MakeObjectById(id serialmo.IdentMo) *ObjectMo
- func MakeObjectByTwoNums(hi uint64, lo uint64) *ObjectMo
- func MakePredefinedObj(hi uint64, lo uint64) *ObjectMo
- func NewObj() *ObjectMo
- func Predef_1xKb8cfVIXo_7zufUqzNXfu() *ObjectMo
- func Predef_02hL3RuX4x6_6y6PTK9vZs7() *ObjectMo
- func RefobSliceToObjptrSlice(rarr []RefobV) []*ObjectMo
- func SlicePredefined() []*ObjectMo
- func (pob *ObjectMo) BucketNum() uint
- func (pob *ObjectMo) DumpScanInsideObject(du *DumperMo)
- func (po *ObjectMo) Hash() serialmo.HashMo
- func (pob *ObjectMo) ObId() serialmo.IdentMo
- func (pob *ObjectMo) SpaceNum() uint8
- func (pob *ObjectMo) String() string
- func (po *ObjectMo) ToString() string
- func (pob *ObjectMo) UnsyncAddValues(vals ...ValueMo) *ObjectMo
- func (pob *ObjectMo) UnsyncAppendVal(val ValueMo) *ObjectMo
- func (pob *ObjectMo) UnsyncMtime() int64
- func (pob *ObjectMo) UnsyncPayloadClear() *ObjectMo
- func (pob *ObjectMo) UnsyncPutAttr(pobat *ObjectMo, val ValueMo) *ObjectMo
- func (pob *ObjectMo) UnsyncPutMtime(tim int64)
- func (pob *ObjectMo) UnsyncSetSpaceNum(sp uint8) *ObjectMo
- func (pob *ObjectMo) UnsyncSpaceNum() uint8
- func (pob *ObjectMo) UnsyncTouch()
- type PayloadLoaderMo
- type PayloadMo
- type RefobV
- type RefobVMo
- type SequenceV
- type SequenceVMo
- type SetV
- type SetVMo
- type StringV
- type StringVMo
- type TupleV
- type TupleVMo
- type ValueMo
Constants ¶
View Source
const ( TyNilV = iota TyIntV TyFloatV TyStringV TyRefobV TyColIntV TyColStringV TyColRefV TySetV TyTupleV )
View Source
const ( SpaTransient = iota SpaPredefined SpaGlobal SpaUser Spa_Last )
View Source
const DefaultGlobalDbname = "monimelt_global"
View Source
const DefaultUserDbname = "monimelt_user"
View Source
const GlobalObjects = true
View Source
const NbPredefs = 2
View Source
const SqliteProgram = "sqlite3"
View Source
const UserObjects = false
Variables ¶
This section is empty.
Functions ¶
func DoTinyDump1 ¶
func DoTinyDump1(tempdir string)
func DumpIntoDirectory ¶
func DumpIntoDirectory(dirname string)
func DumpScanGlobalVariables ¶
func DumpScanGlobalVariables(du *DumperMo)
func DumpScanPredefined ¶
func DumpScanPredefined(du *DumperMo)
func EmitJsonValueInBuffer ¶
func EmitJsonValueInBuffer(vem JsonValEmitterMo, buf *bytes.Buffer, v ValueMo)
func EnableSqliteLog ¶
func EnableSqliteLog()
func EncodeJsonValue ¶
func EncodeJsonValue(vem JsonValEmitterMo, enc *json.Encoder, v ValueMo)
func LessColInt ¶
func LessColRef ¶
func LessColString ¶
func LessColString(cil ColStringV, cir ColStringV) bool
func LessEqualColInt ¶
func LessEqualColRef ¶
func LessEqualColstr ¶
func LessEqualColstr(cil ColStringV, cir ColStringV) bool
func LessEqualObptr ¶
func LoadFromDirectory ¶
func LoadFromDirectory(dirname string)
func NamesGlobalVariables ¶
func NamesGlobalVariables() []string
func RegisterGlobalVariable ¶
func RegisterPayload ¶
func RegisterPayload(pname string, ploader PayloadLoaderMo)
func StringHash ¶
func UnregisterGlobalVariable ¶
func UnregisterGlobalVariable(vnam string)
func ValToJson ¶
func ValToJson(vem JsonValEmitterMo, v ValueMo) interface{}
Types ¶
type ColIntV ¶
type ColIntV struct {
// contains filtered or unexported fields
}
func MakeColInt ¶
func MakeColRefInt ¶
type ColIntVMo ¶
type ColIntVMo interface {
ValueMo
ColorRef() *ObjectMo
Int() int
Int64() int64
ColorId() serialmo.IdentMo
// contains filtered or unexported methods
}
////////////// colored integer values
type ColRefV ¶
type ColRefV struct {
// contains filtered or unexported fields
}
func MakeColRef ¶
func MakeColRefRef ¶
type ColRefVMo ¶
type ColRefVMo interface {
ValueMo
ColorRef() *ObjectMo
ObjRef() *ObjectMo
ColorId() serialmo.IdentMo
ObjId() serialmo.IdentMo
// contains filtered or unexported methods
}
////////////// colored reference values
type ColStringV ¶
type ColStringV struct {
// contains filtered or unexported fields
}
func MakeColRefStr ¶
func MakeColRefStr(coloref RefobV, str string) ColStringV
func MakeColString ¶
func MakeColString(colorpob *ObjectMo, str string) ColStringV
func (ColStringV) ColorId ¶
func (ci ColStringV) ColorId() serialmo.IdentMo
func (ColStringV) ColorRef ¶
func (ci ColStringV) ColorRef() *ObjectMo
func (ColStringV) DumpScan ¶
func (ci ColStringV) DumpScan(du *DumperMo)
func (ColStringV) Hash ¶
func (ci ColStringV) Hash() serialmo.HashMo
func (ColStringV) ToString ¶
func (ci ColStringV) ToString() string
func (ColStringV) TypeV ¶
func (ci ColStringV) TypeV() uint
type ColStringVMo ¶
type ColStringVMo interface {
ValueMo
ColorRef() *ObjectMo
ColoredString() string
ColorId() serialmo.IdentMo
// contains filtered or unexported methods
}
////////////// colored string values
type DumperMo ¶
type DumperMo struct {
// contains filtered or unexported fields
}
func OpenDumperDirectory ¶
func (*DumperMo) AddDumpedObject ¶
func (*DumperMo) EmitObjptr ¶
func (*DumperMo) IsDumpedObject ¶
func (*DumperMo) LoopDumpScan ¶
func (du *DumperMo) LoopDumpScan()
func (*DumperMo) StartDumpScan ¶
func (du *DumperMo) StartDumpScan()
type EmitterFunction_t ¶
type JsonSimpleValEmitter ¶
type JsonSimpleValEmitter struct {
// contains filtered or unexported fields
}
func MakeJsonSimpleValEmitter ¶
func MakeJsonSimpleValEmitter(ef EmitterFunction_t) JsonSimpleValEmitter
func (JsonSimpleValEmitter) EmitObjptr ¶
func (jse JsonSimpleValEmitter) EmitObjptr(pob *ObjectMo) bool
type JsonSimpleValParser ¶
type JsonSimpleValParser struct {
}
func TrivialValParser ¶
func TrivialValParser() JsonSimpleValParser
func (JsonSimpleValParser) ParseObjptr ¶
func (JsonSimpleValParser) ParseObjptr(sid string) (*ObjectMo, error)
type JsonValEmitterMo ¶
type JsonValParserMo ¶
type LoaderMo ¶
type LoaderMo struct {
// contains filtered or unexported fields
}
func OpenLoaderFromFiles ¶
type ObjectMo ¶
type ObjectMo struct {
// contains filtered or unexported fields
}
var Glob_the_system *ObjectMo
func FindObjectById ¶
func FindObjectByTwoNums ¶
func GlobalVariableAddress ¶
func MakeObjectById ¶
func MakeObjectByTwoNums ¶
func MakePredefinedObj ¶
func Predef_1xKb8cfVIXo_7zufUqzNXfu ¶
func Predef_1xKb8cfVIXo_7zufUqzNXfu() *ObjectMo
func Predef_02hL3RuX4x6_6y6PTK9vZs7 ¶
func Predef_02hL3RuX4x6_6y6PTK9vZs7() *ObjectMo
func RefobSliceToObjptrSlice ¶
func SlicePredefined ¶
func SlicePredefined() []*ObjectMo
func (*ObjectMo) DumpScanInsideObject ¶
func (*ObjectMo) UnsyncAddValues ¶
func (*ObjectMo) UnsyncAppendVal ¶
func (*ObjectMo) UnsyncMtime ¶
func (*ObjectMo) UnsyncPayloadClear ¶
func (*ObjectMo) UnsyncPutAttr ¶
func (*ObjectMo) UnsyncPutMtime ¶
func (*ObjectMo) UnsyncSetSpaceNum ¶
func (*ObjectMo) UnsyncSpaceNum ¶
func (*ObjectMo) UnsyncTouch ¶
func (pob *ObjectMo) UnsyncTouch()
type PayloadLoaderMo ¶
func PayloadLoader ¶
func PayloadLoader(pname string) (PayloadLoaderMo, error)
type PayloadMo ¶
type PayloadMo interface {
DestroyPayl(pob *ObjectMo)
DumpScanPayl(pob *ObjectMo, du *DumperMo)
DumpEmitPayl(pob *ObjectMo, du *DumperMo) (string, interface{})
GetPayl(pob *ObjectMo, attrpob *ObjectMo) ValueMo
PutPayl(pob *ObjectMo, attrpob *ObjectMo, val ValueMo) error
DoPayl(pob *ObjectMo, selpob *ObjectMo, args ...ValueMo) error
} // end PayloadMo
type RefobVMo ¶
type RefobVMo interface {
ValueMo
Obref() *ObjectMo
IdOb() serialmo.IdentMo
// contains filtered or unexported methods
}
////////////// refob values
type SequenceVMo ¶
type SequenceVMo interface {
ValueMo
At(rk int) *ObjectMo // may panic
Nth(rk int) *ObjectMo // or nil
Length() int
// contains filtered or unexported methods
}
////////////// sequence values
type SetV ¶
type SetV struct {
SequenceV
}
func MakeSetRefobSlice ¶
func MakeSetRefobV ¶
func MakeSetSliceV ¶
func SetPredefined ¶
func SetPredefined() SetV
func (SetV) SetContains ¶
type SetVMo ¶
type SetVMo interface {
SequenceVMo
SetContains(ob *ObjectMo) bool
// contains filtered or unexported methods
}
////////////// set
type StringVMo ¶
type StringVMo interface {
ValueMo
Length() int
ToString() string
// contains filtered or unexported methods
}
////////////// string values
type TupleV ¶
type TupleV struct {
SequenceV
}
func MakeSkippedTupleSliceV ¶
func MakeSkippedTupleV ¶
func MakeTupleRefobSlice ¶
func MakeTupleRefobV ¶
func MakeTupleSliceV ¶
func MakeTupleV ¶
type TupleVMo ¶
type TupleVMo interface {
SequenceVMo
// contains filtered or unexported methods
}
////////////// tuple values
Click to show internal directories.
Click to hide internal directories.