xtd 0.2.0
Loading...
Searching...
No Matches
implicit_using_namespaces.hpp
Go to the documentation of this file.
1
4#pragma once
6
10
11#if defined(__XTD_ENABLE_IMPLICIT_USING_NAMESPACES__)
12#define __using_namespace__(name_space) \
13 namespace name_space {} \
14 using namespace name_space
15
16#if __XTD_CURRENT_TARGET_ID__ == __XTD_TARGET_ID_TEST_APPLICATION__ || __XTD_CURRENT_TARGET_ID__ == __XTD_TARGET_ID_CONSOLE_APPLICATION__ || __XTD_CURRENT_TARGET_ID__ == __XTD_TARGET_ID_GUI_APPLICATION__ || __XTD_CURRENT_TARGET_ID__ == __XTD_TARGET_ID_UNKNOWN__
17__using_namespace__(xtd);
18__using_namespace__(xtd::collections::generic);
19__using_namespace__(xtd::expressions);
20__using_namespace__(xtd::io);
21__using_namespace__(xtd::linq);
22__using_namespace__(xtd::net::http);
23__using_namespace__(xtd::ranges::views);
24__using_namespace__(xtd::threading);
25__using_namespace__(xtd::threading::tasks);
26#endif
27
28#if __XTD_CURRENT_TARGET_ID__ == __XTD_TARGET_ID_TEST_APPLICATION__ || __XTD_CURRENT_TARGET_ID__ == __XTD_TARGET_ID_GUI_APPLICATION__ || __XTD_CURRENT_TARGET_ID__ == __XTD_TARGET_ID_UNKNOWN__
29__using_namespace__(xtd::drawing);
30__using_namespace__(xtd::forms);
31#endif
32
33#if __XTD_CURRENT_TARGET_ID__ == __XTD_TARGET_ID_TEST_APPLICATION__
34__using_namespace__(xtd::tunit);
35__using_namespace__(xtd::tunit::constraints);
36#endif
37
38#undef __using_namespace__
39#endif
The xtd::collections::generic namespace contains interfaces and classes that define generic collectio...
Definition comparer.hpp:16
The xtd::drawing namespace provides access to GDI+ basic graphics functionality. More advanced functi...
Definition actions_system_images.hpp:10
The xtd::expressions namespace provides a lightweight, composable expression template framework for b...
Definition add_expression.hpp:14
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition texts.hpp:219
The xtd::io namespace contains types that allow reading and writing to files and data streams,...
Definition binary_reader.hpp:17
Provides classes and interfaces that support queries that use Language-Integrated Query (LINQ).
Definition enumerable.hpp:50
The view namesapce contains range views, lightweight objects that indirectly represent iterable seque...
Definition distinct.hpp:20
The xtd::threading::tasks namespace provides types that simplify the work of writing concurrent and a...
Definition itask.hpp:14
The xtd::threading namespace provides classes and interfaces that enable multithreaded programming....
Definition abandoned_mutex_exception.hpp:10
The constraints namespace contains the constraint-based assert model.
Definition actual_value.hpp:12
The tunit namespace contains a unit test library.
Definition abort_error.hpp:10
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Contains target id definitions.