Beispiel #1
0
func (def SetOfRefOfRemotePhotoDef) New() SetOfRefOfRemotePhoto {
	l := make([]types.Value, len(def))
	i := 0
	for d, _ := range def {
		l[i] = NewRefOfRemotePhoto(d)
		i++
	}
	return SetOfRefOfRemotePhoto{types.NewTypedSet(__typeForSetOfRefOfRemotePhoto, l...), &ref.Ref{}}
}
Beispiel #2
0
func (def SetOfBoolDef) New() SetOfBool {
	l := make([]types.Value, len(def))
	i := 0
	for d, _ := range def {
		l[i] = types.Bool(d)
		i++
	}
	return SetOfBool{types.NewTypedSet(__typeForSetOfBool, l...), &ref.Ref{}}
}
Beispiel #3
0
func (def SetOfFloat32Def) New() SetOfFloat32 {
	l := make([]types.Value, len(def))
	i := 0
	for d, _ := range def {
		l[i] = types.Float32(d)
		i++
	}
	return SetOfFloat32{types.NewTypedSet(__typeForSetOfFloat32, l...), &ref.Ref{}}
}
Beispiel #4
0
func (def SetOfFaceDef) New() SetOfFace {
	l := make([]types.Value, len(def))
	i := 0
	for d, _ := range def {
		l[i] = d.New()
		i++
	}
	return SetOfFace{types.NewTypedSet(__typeForSetOfFace, l...), &ref.Ref{}}
}
Beispiel #5
0
func (def SetOfStringDef) New() SetOfString {
	l := make([]types.Value, len(def))
	i := 0
	for d, _ := range def {
		l[i] = types.NewString(d)
		i++
	}
	return SetOfString{types.NewTypedSet(__typeForSetOfString, l...), &ref.Ref{}}
}
Beispiel #6
0
func (def SetOfRefOfCommitDef) New() SetOfRefOfCommit {
	l := make([]types.Value, len(def))
	i := 0
	for d, _ := range def {
		l[i] = NewRefOfCommit(d)
		i++
	}
	return SetOfRefOfCommit{types.NewTypedSet(__typeForSetOfRefOfCommit, l...), &ref.Ref{}}
}
func (def SetOfUint8Def) New() SetOfUint8 {
	l := make([]types.Value, len(def))
	i := 0
	for d, _ := range def {
		l[i] = types.Uint8(d)
		i++
	}
	return SetOfUint8{types.NewTypedSet(__typeForSetOfUint8, l...), &ref.Ref{}}
}
Beispiel #8
0
func NewSetOfRefOfRemotePhoto() SetOfRefOfRemotePhoto {
	return SetOfRefOfRemotePhoto{types.NewTypedSet(__typeForSetOfRefOfRemotePhoto), &ref.Ref{}}
}
Beispiel #9
0
func NewSetOfBool() SetOfBool {
	return SetOfBool{types.NewTypedSet(__typeForSetOfBool), &ref.Ref{}}
}
Beispiel #10
0
func NewSetOfFloat32() SetOfFloat32 {
	return SetOfFloat32{types.NewTypedSet(__typeForSetOfFloat32), &ref.Ref{}}
}
Beispiel #11
0
func NewSetOfFace() SetOfFace {
	return SetOfFace{types.NewTypedSet(__typeForSetOfFace), &ref.Ref{}}
}
Beispiel #12
0
func NewSetOfString() SetOfString {
	return SetOfString{types.NewTypedSet(__typeForSetOfString), &ref.Ref{}}
}
Beispiel #13
0
func NewSetOfRefOfCommit() SetOfRefOfCommit {
	return SetOfRefOfCommit{types.NewTypedSet(__typeForSetOfRefOfCommit), &ref.Ref{}}
}
func NewSetOfUint8() SetOfUint8 {
	return SetOfUint8{types.NewTypedSet(__typeForSetOfUint8), &ref.Ref{}}
}