YSTest
PreAlpha_b400_20130424
The YSLib Test Project
|
平台相关的公共组件无关函数与宏定义集合。 更多...
#include "Platform.h"
#include <ydef.h>
#include <ystdex/cstdio.h>
#include <cstdlib>
#include <string>
#include <cassert>
命名空间 | |
namespace | platform |
默认平台命名空间。 | |
namespace | platform_ex |
宏定义 | |
#define | YAssert(exp, message) assert(exp) |
函数 | |
YB_NORETURN void | platform::terminate () ynothrow |
异常终止函数。 | |
bool | platform_ex::AllowSleep (bool) |
设置允许设备进入睡眠的标识状态。 | |
平台相关的公共组件无关函数与宏定义集合。
在文件 ycommon.h 中定义.
#define YAssert | ( | exp, | |
message | |||
) | assert(exp) |
参考自 YSLib::Activate(),CopyBuffer(),CopySliceFrom(),DeclResource(),Decompose(),YSL_BEGIN::Diminish(),DrawHLineSeg(),DrawVLineSeg(),DSApplication::DSApplication(),DualScreenReader::Execute(),FetchGlobalInstance(),FetchResizedBottomMargin(),FetchResizedLineN(),FetchShell(),YSLib::Devices::Screen::GetCheckedBufferPtr(),YSLib::GDependency< _tEvent, _tOwnerPointer >::GetCopyOnWritePtr(),GetDesktopDownHandle(),GUIApplication::GetFontCache(),YSLib::Text::TextFileBuffer::GetIterator(),YSLib::ValueObject::GetMutableObject(),YSLib::Text::TextFileBuffer::GetPosition(),YSLib::UI::AScrollBar::GetTrack(),YSLib::GEventPointerWrapper< _tBaseArgs >::GEventPointerWrapper(),GUIApplication::GUIApplication(),LexicalAnalyzer::HandleEscape(),YSLib::UI::MenuHost::Hide(),YSLib::IsInInterval(),YSLib::IsInOpenInterval(),YSLib::UI::Menu::IsItemEnabled(),YSLib::IO::FileList::ListItems(),DualScreenReader::Locate(),MoveToBottom(),MoveToLeft(),MoveToRight(),MoveToTop(),DualScreenReader::MoveUpForLastLine(),YSLib::Application::OnGotMessage(),YSLib::Text::TextFileBuffer::Iterator::operator*(),YSLib::Text::TextFileBuffer::Iterator::operator++(),YSLib::Text::TextFileBuffer::Iterator::operator--(),YSLib::UI::MUIContainer::operator-=(),YSLib::operator<<(),operator==(),YSLib::operator>>(),YSLib::Text::TextFileBuffer::operator[](),YSLib::Drawing::Graphics::operator[](),YSLib::UI::Renderer::Paint(),YSLib::UI::BufferedRenderer::Paint(),YSLib::UI::MUIContainer::PaintVisibleChildren(),YSLib::Drawing::PutPixel(),RectDrawArrow(),YSL_BEGIN::RectDrawButton(),YSL_BEGIN::RectDrawCheckBox(),RenderChar(),RenderCharAlpha(),YSLib::UI::GUIState::ResponseKey(),YSLib::UI::GUIState::ResponseKeyBase(),YSLib::UI::GUIState::ResponseTouch(),YSLib::UI::GUIState::ResponseTouchBase(),YSLib::RestrictInClosedInterval(),YSLib::RestrictInInterval(),YSLib::RestrictUnsigned(),DualScreenReader::ScrollByPixel(),YSLib::UI::Menu::SetItemEnabled(),YSLib::Drawing::BitmapBuffer::SetSize(),YSLib::Drawing::BitmapBufferEx::SetSize(),ShlDS::ShlDS(),YSLib::UI::MenuHost::Show(),YSLib::SwitchAddedInterval(),YSLib::SwitchInterval(),YSLib::Text::TextFileBuffer::TextFileBuffer() , 以及 YSLib::Application::~Application().