Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

Engine.UIDataProvider

Extends
UIRoot
Modifiers
native ( UIPrivate ) transient abstract

Base class for all classes which provide data stores with data about specific instances of a particular data type. Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.

Core.Object
|   
+-- Engine.UIRoot
   |   
   +-- Engine.UIDataProvider

Direct Known Subclasses:

UIConfigProvider, UIDataProvider_OnlinePlayerDataBase, UIDataProvider_OnlineProfileSettingsArray, UIDataProvider_SettingsArray, UIDataStore, UIDynamicFieldProvider, UIPropertyDataProvider, UTUIDataProvider_Character, UTUIDataProvider_CharacterFaction, UTUIDataProvider_CharacterPart, UTUIDataProvider_SimpleElementProvider

Constants Summary
Inherited Contants from Engine.UIRoot
ASPECTRATIO_Monitor, ASPECTRATIO_Normal, ASPECTRATIO_Widescreen, DEFAULT_SIZE_X, DEFAULT_SIZE_Y, MAX_SUPPORTED_GAMEPADS, PRIVATE_EditorNoDelete, PRIVATE_EditorNoRename, PRIVATE_EditorNoReparent, PRIVATE_KeepFocusedState, PRIVATE_ManagedStyle, PRIVATE_NotDockable, PRIVATE_NotEditorSelectable, PRIVATE_NotFocusable, PRIVATE_NotRotatable, PRIVATE_PropagateState, PRIVATE_Protected, PRIVATE_TreeHidden, PRIVATE_TreeHiddenRecursive, SCENE_DATASTORE_TAG, TEMP_SPLITSCREEN_INDEX
Inherited Contants from Core.Object
DegToRad, INDEX_NONE, MaxInt, Pi, RadToDeg

Variables Summary
array<delegate<OnDataProviderPropertyChange>>ProviderChangedNotifies
EProviderAccessTypeWriteAccessType
Inherited Variables from Engine.UIRoot
CurrentMenuState, ModifierStack
Inherited Variables from Core.Object
Class, HashNext, HashOuterNext, Linker, LinkerIndex, Name, NetIndex, ObjectArchetype, ObjectFlags, ObjectInternalInteger, Outer, StateFrame, VfTableObject

Enumerations Summary
EProviderAccessType
ACCESS_ReadOnly, ACCESS_WriteAll,
Inherited Enumerations from Engine.UIRoot
EColumnHeaderState, EMaterialAdjustmentType, ENavigationLinkType, EPositionEvalType, ERotationAnchor, EScreenInputMode, ESplitscreenRenderMode, ETextAutoScaleMode, ETextClipMode, EUIAlignment, EUIAspectRatioConstraint, EUIAutoSizeConstraintType, EUIDataProviderFieldType, EUIDefaultPenColor, EUIDockPaddingEvalType, EUIExtentEvalType, EUIListElementState, EUIOrientation, EUIWidgetFace
Inherited Enumerations from Core.Object
EAxis, EInputEvent, EInterpCurveMode, EInterpMethodType, ETickingGroup

Structures Summary
UIDataProviderField
FieldTag, FieldType, FieldProviders
Inherited Structures from Engine.UIRoot
AutoSizeData, AutoSizePadding, DefaultEventSpecification, InputEventSubscription, InputKeyAction, PlayerInteractionData, RenderParameters, ScreenPositionRange, StateInputKeyAction, StyleReferenceId, STYLE_ID, TextAutoScaleValue, TextureCoordinates, UIAnchorPosition, UICombinedStyleData, UIDataStoreBinding, UIDockingNode, UIDockingSet, UIFocusPropagationData, UIImageAdjustmentData, UIImageStyleOverride, UIInputAliasClassMap, UIInputAliasMap, UIInputAliasStateMap, UIMouseBounds, UINavigationData, UIProviderFieldValue, UIProviderScriptFieldValue, UIRangeData, UIRenderingSubregion, UIRotation, UIScreenValue, UIScreenValue_AutoSizeRegion, UIScreenValue_Bounds, UIScreenValue_DockPadding, UIScreenValue_Extent, UIScreenValue_Position, UIStringCaretParameters, UIStringNodeModifier, UIStyleOverride, UIStyleReference, UIStyleSubscriberReference, UITextAttributes, UITextStyleOverride, WIDGET_ID
Inherited Structures from Core.Object
Box, BoxSphereBounds, Color, Cylinder, double, DynamicMap_Mirror, Guid, IndirectArray_Mirror, InterpCurveFloat, InterpCurvePointFloat, InterpCurvePointQuat, InterpCurvePointTwoVectors, InterpCurvePointVector, InterpCurvePointVector2D, InterpCurveQuat, InterpCurveTwoVectors, InterpCurveVector, InterpCurveVector2D, IntPoint, LinearColor, Map_Mirror, Matrix, MultiMap_Mirror, Plane, pointer, Quat, qword, RawDistribution, RenderCommandFence, Rotator, TextureMipBulkData_Mirror, ThreadSafeCounter, TPOV, TwoVectors, UntypedBulkData_Mirror, Vector, Vector2D, Vector4

Delegates Summary
delegate OnDataProviderPropertyChange (UIDataProvider SourceProvider, optional name PropTag)

Functions Summary
function AddPropertyNotificationChangeRequest (delegate<OnDataProviderPropertyChange> InDelegate))
eventstring GenerateFillerData (string DataTag)
eventstring GenerateScriptMarkupString (Name DataTag)
eventbool GetFieldValue (string FieldName, out UIProviderScriptFieldValue FieldValue, optional int ArrayIndex=INDEX_NONE)
event GetSupportedScriptFields (out array<UIDataProviderField> out_Fields)
event NotifyPropertyChanged (optional name PropTag))
function RemovePropertyNotificationChangeRequest (delegate<OnDataProviderPropertyChange> InDelegate))
eventbool SetFieldValue (string FieldName, const out UIProviderScriptFieldValue FieldValue, optional int ArrayIndex=INDEX_NONE)
Inherited Functions from Engine.UIRoot
<, =, ConvertWidgetIDToString, GetCurrentUIController, GetCursorPosition, GetCursorSize, GetDataStoreFieldValue, GetDataStoreStringValue, GetFaceOrientation, GetPrimitiveTransform, GetSceneClient, IsConsole, SetDataStoreFieldValue, SetDataStoreStringValue, SetMouseCaptureOverride
Inherited Functions from Core.Object
!, !=, $, $=, %, &, &&, *, **, *=, +, ++, +=, -, --, -=, / , /=, <, <<, <=, ==, >, >=, >>, >>>, @, @=, Abs, Acos, Asc, Asin, Atan, BeginState, ByteToFloat, Caps, Chr, Clamp, ClampLength, ClampRotAxis, ClassIsChildOf, ClearConfig, ClockwiseFrom, ColorToLinearColor, ContinuedState, Cos, Cross, Disable, Dot, DumpStateStack, DynamicLoadObject, Enable, EndState, Exp, FClamp, FCubicInterp, FindDeltaAngle, FindObject, FInterpEaseIn, FInterpEaseInOut, FInterpEaseOut, FInterpTo, FloatToByte, FMax, FMin, FPctByRange, FRand, GetAngularDegreesFromRadians, GetAngularDistance, GetAngularFromDotDist, GetAxes, GetDotDistance, GetEnum, GetFuncName, GetHeadingAngle, GetNetFuncName, GetPackageName, GetPerObjectConfigSections, GetRangePctByValue, GetRangeValueByPct, GetSpecialValue, GetStateName, GetUnAxes, GotoState, InStr, IsA, IsChildState, IsInState, IsNetScript, IsPendingKill, IsUTracing, IsZero, JoinArray, Left, Len, Lerp, Localize, Locs, Loge, LogInternal, MakeColor, MakeLinearColor, Max, Mid, Min, MirrorVectorByNormal, Normal, Normalize, NormalizeRotAxis, OrthoRotation, ParseStringIntoArray, PathName, PausedState, PointDistToLine, PointDistToPlane, PointInBox, PoppedState, PopState, ProjectOnTo, PushedState, PushState, QuatDot, QuatFindBetween, QuatFromAxisAndAngle, QuatFromRotator, QuatInvert, QuatProduct, QuatRotateVector, QuatSlerp, QuatToRotator, Rand, RandRange, RDiff, Repl, Right, RInterpTo, RLerp, RotRand, Round, RSize, RSmerp, SaveConfig, SClampRotAxis, ScriptTrace, SetSpecialValue, SetUTracing, Sin, Split, Sqrt, Square, StaticClearConfig, StaticSaveConfig, Tan, TimeStamp, ToHex, TransformVectorByRotation, UnwindHeading, vect2d, VInterpTo, VLerp, VRand, VSize, VSize2D, VSizeSq, VSizeSq2D, VSmerp, WarnInternal, ^, ^^, |, ||, ~, ~=


Variables Detail

ProviderChangedNotifies Source code

var array<delegate<OnDataProviderPropertyChange>> ProviderChangedNotifies;
The list of delegates to call when data exposed by this provider has been updated. @todo - change into a map of property name => delegate, so that when a property name is passed to NotifyPropertyChanged, only those delegates are called.

WriteAccessType Source code

var EProviderAccessType WriteAccessType;
Determines whether/how subscribers to this data store are allowed to publish changes to property values.


Enumerations Detail

EProviderAccessType Source code

enum EProviderAccessType
{
ACCESS_ReadOnly, ACCESS_WriteAll,
};
Types of write access that data providers can specify.


Structures Detail

UIDataProviderField Source code

struct native UIDataProviderField
{
var public array<UIDataProvider> FieldProviders;
var name FieldTag;
var EUIDataProviderFieldType FieldType;
};
Contains data about a single data field exposed by this data provider.
FieldProviders:
The list of providers associated with this field. Only relevant if FieldType is DATATYPE_Provider or DATATYPE_ProviderCollection. If FieldType is DATATYPE_Provider, the list should contain only one element.
FieldTag:
the tag used to access this field
FieldType:
the type of field this tag corresponds to


Delegates Detail

OnDataProviderPropertyChange Source code

delegate OnDataProviderPropertyChange ( UIDataProvider SourceProvider, optional name PropTag )
Delegate that notifies that a property has changed Intended only for use between data providers and their owning data stores. For external notifications, use the callbacks in UIDataStore instead.
@param SourceProvider the data provider that generated the notification
@param PropTag the property that changed


Functions Detail

AddPropertyNotificationChangeRequest Source code

protected final function AddPropertyNotificationChangeRequest ( delegate<OnDataProviderPropertyChange> InDelegate) )
Subscribes a function for receiving notifications that a property in this data provider has changed. Intended only for use between data providers and their owning data stores. For external notifications, use the callbacks in UIDataStore instead.
@param InDelegate the delegate to add to the notification list

GenerateFillerData Source code

event string GenerateFillerData ( string DataTag )
Callback to allow script-only child classes to return filler data for their own data fields.
@param DataTag the tag corresponding to the data field that we want filler data for
@return a string of made-up data which is indicative of the typical values for the specified field.

GenerateScriptMarkupString Source code

event string GenerateScriptMarkupString ( Name DataTag )
Callback to allow script-only child classes to generate a markup string for their own data fields. Called from the native implementation of GenerateDataMarkupString if the tag specified doesn't correspond to any tags in the data store.
@param DataTag the data field tag to generate the markup string for
@return a datastore markup string which resolves to the datastore field associated with DataTag, in the format:

GetFieldValue Source code

event bool GetFieldValue ( string FieldName, out UIProviderScriptFieldValue FieldValue, optional int ArrayIndex=INDEX_NONE )
Resolves the value of the data field specified and stores it in the output parameter.
@param FieldName the data field to resolve the value for; guaranteed to correspond to a property that this provider can resolve the value for (i.e. not a tag corresponding to an internal provider, etc.)
@param out_FieldValue receives the resolved value for the property specified.
@see ParseDataStoreReference for additional notes
@param ArrayIndex optional array index for use with data collections
@return TRUE to indicate that this value was processed by script.

GetSupportedScriptFields Source code

event GetSupportedScriptFields ( out array<UIDataProviderField> out_Fields )
Callback to allow script-only child classes to add their own supported tags when GetSupportedDataFields is called.
@param out_Fields the list of data tags supported by this data store.

NotifyPropertyChanged Source code

event NotifyPropertyChanged ( optional name PropTag) )
Iterates over the list of subscribed delegates and fires off the event. Called whenever the value of a field managed by this data provider is modified.
@param PropTag the name of the property that changed

RemovePropertyNotificationChangeRequest Source code

protected final function RemovePropertyNotificationChangeRequest ( delegate<OnDataProviderPropertyChange> InDelegate) )
Removes the delegate from the notification list
@param InDelegate the delegate to remove from the list

SetFieldValue Source code

event bool SetFieldValue ( string FieldName, const out UIProviderScriptFieldValue FieldValue, optional int ArrayIndex=INDEX_NONE )
Resolves the value of the data field specified and stores the value specified to the appropriate location for that field.
@param FieldName the data field to resolve the value for; guaranteed to correspond to a property that this provider can resolve the value for (i.e. not a tag corresponding to an internal provider, etc.)
@param FieldValue the value to store for the property specified.
@param ArrayIndex optional array index for use with data collections
@return TRUE to indicate that this value was processed by script.


Defaultproperties

defaultproperties
{
   Name="Default__UIDataProvider"
   ObjectArchetype=UIRoot'Engine.Default__UIRoot'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: sk 18-3-2018 10:00:46.598 - Created with UnCodeX