result
Container::AddControl(Control* pControl)
{
+ SysTryReturnResult(NID_UI, pControl != null, E_INVALID_ARG, "pControl is null.");
_ContainerImpl* pImpl = _ContainerImpl::GetInstance(*this);
SysAssertf(pImpl != null, "Not yet constructed. Construct() should be called before use.");
result
Container::RemoveControl(Control* pControl)
{
+ SysTryReturnResult(NID_UI, pControl != null, E_INVALID_ARG, "pControl is null.");
_ContainerImpl* pImpl = _ContainerImpl::GetInstance(*this);
SysAssertf(pImpl != null, "Not yet constructed. Construct() should be called before use.");
result
Container::SetControlAt(Control* pControl, int index)
{
+ SysTryReturnResult(NID_UI, pControl != null, E_INVALID_ARG, "pControl is null.");
_ContainerImpl* pImpl = _ContainerImpl::GetInstance(*this);
SysAssertf(pImpl != null, "Not yet constructed. Construct() should be called before use.");
result
Container::GetControlAt(const Control* pControl, int& index) const
{
+ SysTryReturnResult(NID_UI, pControl != null, E_INVALID_ARG, "pControl is null.");
const _ContainerImpl* pImpl = _ContainerImpl::GetInstance(*this);
SysAssertf(pImpl != null, "Not yet constructed. Construct() should be called before use.");
bool
Container::IsAncestorOf(const Control* pControl) const
{
+ SysTryReturnResult(NID_UI, pControl != null, E_INVALID_ARG, "pControl is null.");
const _ContainerImpl* pImpl = _ContainerImpl::GetInstance(*this);
SysAssertf(pImpl != null, "Not yet constructed. Construct() should be called before use.");
bool
Container::IsControlAlwaysAtBottom(const Control* pControl) const
{
+ SysTryReturnResult(NID_UI, pControl != null, E_INVALID_ARG, "pControl is null.");
const _ContainerImpl* pImpl = _ContainerImpl::GetInstance(*this);
SysAssertf(pImpl != null, "Not yet constructed. Construct() should be called before use.");
bool
Container::IsControlAlwaysOnTop(const Control* pControl) const
{
+ SysTryReturnResult(NID_UI, pControl != null, E_INVALID_ARG, "pControl is null.");
const _ContainerImpl* pImpl = _ContainerImpl::GetInstance(*this);
SysAssertf(pImpl != null, "Not yet constructed. Construct() should be called before use.");
result
Control::AddGestureDetector(TouchGestureDetector* pGestureDetector)
{
+ SysTryReturnResult(NID_UI, pGestureDetector != null, E_INVALID_ARG, "pGestureDetector is null.");
_ControlImpl* pControlImpl = _ControlImpl::GetInstance(*this);
SysAssertf(pControlImpl != null, "Not yet constructed. Construct() should be called before use.");
result
Control::RemoveGestureDetector(TouchGestureDetector* pGestureDetector)
{
+ SysTryReturnResult(NID_UI, pGestureDetector != null, E_INVALID_ARG, "pGestureDetector is null.");
_ControlImpl* pControlImpl = _ControlImpl::GetInstance(*this);
SysAssertf(pControlImpl != null, "Not yet constructed. Construct() should be called before use.");