btn namespace
Main butano namespace.
Namespaces
- namespace bg_maps
- Background maps related functions.
- namespace bg_palettes
- Background color palettes related functions.
- namespace bg_tiles
- Background tiles related functions.
- namespace bgs
- Backgrounds related functions.
- namespace bgs_mosaic
- Functions related with the mosaic applied to the backgrounds.
- namespace blending
- Blending related functions.
- namespace cameras
- Cameras related functions.
- namespace colors
- Some constant colors from TONC.
- namespace core
- Core related functions.
- namespace display
- Display related functions.
- namespace green_swap
- When it is enabled, green intensity of each two screen pixels are exchanged.
- namespace hblank_effects
- H-Blank effects related functions.
- namespace keypad
- Keypad related functions.
- namespace memory
- Memory related functions.
- namespace music
- Music related functions.
- namespace profiler
- Profiler related functions.
- namespace sound
- Sound effects related functions.
- namespace sprite_affine_mats
- Sprite affine transformation matrices related functions.
- namespace sprite_palettes
- Sprite color palettes related functions.
- namespace sprite_tiles
- Sprite tiles related functions.
- namespace sprites
- Sprites related functions.
- namespace sprites_mosaic
- Functions related with the mosaic applied to the sprites.
- namespace sram
- SRAM related functions.
- namespace timers
- Timing related functions.
- namespace version
- Current version of butano.
Classes
-
template<int MaxSize, int MaxAlignment>class any
- Any implementation that uses a fixed size buffer.
-
template<typename Type, int Size>class array
- Container that encapsulates fixed size arrays.
- class bg_palette_color_hblank_effect_ptr
- std::shared_ptr like smart pointer that retains shared ownership of a H-Blank effect which changes the color of a background color palette in each screen horizontal line.
- class bg_palette_fade_loop_action
- Modifies the intensity of the fade effect applied to a bg_
palette_ ptr from a minimum to a maximum. When the intensity is equal to the given final state, it goes back to its initial state and vice versa. - class bg_palette_fade_manager
- Manages the intensity of the fade effect applied to a bg_
palette_ ptr. - class bg_palette_fade_to_action
- Modifies the intensity of the fade effect applied to a bg_
palette_ ptr until it has a given state. - class bg_palette_fade_toggle_action
- Changes the intensity of the fade effect applied to a bg_
palette_ ptr when the action is updated a given number of times. - class bg_palette_grayscale_loop_action
- Modifies the intensity of the grayscale effect applied to a bg_
palette_ ptr from a minimum to a maximum. When the intensity is equal to the given final state, it goes back to its initial state and vice versa. - class bg_palette_grayscale_manager
- Manages the intensity of the grayscale effect applied to a bg_
palette_ ptr. - class bg_palette_grayscale_to_action
- Modifies the intensity of the grayscale effect applied to a bg_
palette_ ptr until it has a given state. - class bg_palette_grayscale_toggle_action
- Changes the intensity of the grayscale effect applied to a bg_
palette_ ptr when the action is updated a given number of times. - class bg_palette_inverted_manager
- Manages if the colors of a bg_
palette_ ptr must be inverted or not. - class bg_palette_inverted_toggle_action
- Toggles if the colors of a bg_
palette_ ptr must be inverted or not when the action is updated a given number of times. - class bg_palette_item
- Contains the required information to generate background color palettes.
- class bg_palette_ptr
- std::shared_ptr like smart pointer that retains shared ownership of a background color palette.
- class bg_palette_rotate_by_action
- Modifies the number of colors to rotate to the right in a bg_
palette_ ptr by delta_count when the action is updated a given number of times. When the property is over the given maximum, it goes back to the given minimum and vice versa. - class bg_palette_rotate_loop_action
- Modifies the number of colors to rotate to the right in a bg_palette_ptrç from a minimum to a maximum. When the number of colors to rotate to the right is equal to the given final state, it goes back to its initial state and vice versa.
- class bg_palette_rotate_manager
- Manages the number of colors to rotate to the right in a bg_
palette_ ptr. - class bg_palette_rotate_to_action
- Modifies the number of colors to rotate to the right in a bg_
palette_ ptr until it has a given state. - class bg_palette_rotate_toggle_action
- Changes the number of colors to rotate to the right in a bg_
palette_ ptr when the action is updated a given number of times. - class bg_palettes_brightness_loop_action
- Modifies the brightness of all background color palettes from a minimum to a maximum. When the brightness is equal to the given final state, it goes back to its initial state and vice versa.
- class bg_palettes_brightness_manager
- Manages the brightness of all background color palettes.
- class bg_palettes_brightness_to_action
- Modifies the brightness of all background color palettes until it has a given state.
- class bg_palettes_brightness_toggle_action
- Changes the brightness of all background color palettes when the action is updated a given number of times.
- class bg_palettes_contrast_loop_action
- Modifies the contrast of all background color palettes from a minimum to a maximum. When the contrast is equal to the given final state, it goes back to its initial state and vice versa.
- class bg_palettes_contrast_manager
- Manages the contrast of all background color palettes.
- class bg_palettes_contrast_to_action
- Modifies the contrast of all background color palettes until it has a given state.
- class bg_palettes_contrast_toggle_action
- Changes the contrast of all background color palettes when the action is updated a given number of times.
- class bg_palettes_fade_loop_action
- Modifies the intensity of the fade effect applied to all background color palettes from a minimum to a maximum. When the intensity is equal to the given final state, it goes back to its initial state and vice versa.
- class bg_palettes_fade_manager
- Manages the intensity of the fade effect applied to all background color palettes.
- class bg_palettes_fade_to_action
- Modifies the intensity of the fade effect applied to all background color palettes until it has a given state.
- class bg_palettes_fade_toggle_action
- Changes the intensity of the fade effect applied to all background color palettes when the action is updated a given number of times.
- class bg_palettes_grayscale_loop_action
- Modifies the intensity of the grayscale effect applied to all background color palettes from a minimum to a maximum. When the intensity is equal to the given final state, it goes back to its initial state and vice versa.
- class bg_palettes_grayscale_manager
- Manages the intensity of the grayscale effect applied to all background color palettes.
- class bg_palettes_grayscale_to_action
- Modifies the intensity of the grayscale effect applied to all background color palettes until it has a given state.
- class bg_palettes_grayscale_toggle_action
- Changes the intensity of the grayscale effect applied to all background color palettes when the action is updated a given number of times.
- class bg_palettes_intensity_loop_action
- Modifies the intensity of all background color palettes from a minimum to a maximum. When the intensity is equal to the given final state, it goes back to its initial state and vice versa.
- class bg_palettes_intensity_manager
- Manages the intensity of all background color palettes.
- class bg_palettes_intensity_to_action
- Modifies the intensity of all background color palettes until it has a given state.
- class bg_palettes_intensity_toggle_action
- Changes the intensity of all background color palettes when the action is updated a given number of times.
- class bg_palettes_inverted_manager
- Manages if the colors of all background color palettes must be inverted or not.
- class bg_palettes_inverted_toggle_action
- Toggles if the colors of all background color palettes must be inverted or not when the action is updated a given number of times.
- class bg_palettes_transparent_color_hblank_effect_ptr
- std::shared_ptr like smart pointer that retains shared ownership of a H-Blank effect which changes the transparent color of the backgrounds in each screen horizontal line.
- class bg_position_manager
- Manages the position of a regular_
bg_ ptr. - class bg_tiles_item
- Contains the required information to generate background tiles.
- class bg_tiles_ptr
- std::shared_ptr like smart pointer that retains shared ownership of the tiles of a background.
- class bgs_mosaic_horizontal_stretch_loop_action
- Modifies the horizontal stretch of the mosaic applied to the backgrounds from a minimum to a maximum. When the horizontal stretch is equal to the given final state, it goes back to its initial state and vice versa.
- class bgs_mosaic_horizontal_stretch_manager
- Manages the horizontal stretch of the mosaic applied to the backgrounds.
- class bgs_mosaic_horizontal_stretch_to_action
- Modifies the horizontal stretch of the mosaic applied to the backgrounds until it has a given state.
- class bgs_mosaic_horizontal_stretch_toggle_action
- Changes the horizontal stretch of the mosaic applied to the backgrounds when the action is updated a given number of times.
- class bgs_mosaic_stretch_loop_action
- Modifies the stretch of the mosaic applied to the backgrounds from a minimum to a maximum. When the stretch is equal to the given final state, it goes back to its initial state and vice versa.
- class bgs_mosaic_stretch_manager
- Manages the stretch of the mosaic applied to the backgrounds.
- class bgs_mosaic_stretch_to_action
- Modifies the stretch of the mosaic applied to the backgrounds until it has a given state.
- class bgs_mosaic_stretch_toggle_action
- Changes the stretch of the mosaic applied to the backgrounds when the action is updated a given number of times.
- class bgs_mosaic_vertical_stretch_loop_action
- Modifies the vertical stretch of the mosaic applied to the backgrounds from a minimum to a maximum. When the vertical stretch is equal to the given final state, it goes back to its initial state and vice versa.
- class bgs_mosaic_vertical_stretch_manager
- Manages the vertical stretch of the mosaic applied to the backgrounds.
- class bgs_mosaic_vertical_stretch_to_action
- Modifies the vertical stretch of the mosaic applied to the backgrounds until it has a given state.
- class bgs_mosaic_vertical_stretch_toggle_action
- Changes the vertical stretch of the mosaic applied to the backgrounds when the action is updated a given number of times.
- class blending_fade_alpha
- Manages the attributes to commit to the GBA fade blending register.
- class blending_fade_alpha_hblank_effect_ptr
- std::shared_ptr like smart pointer that retains shared ownership of a H-Blank effect which changes the weight of the fade blending in each screen horizontal line.
- class blending_fade_alpha_loop_action
- Modifies the weight of the fade blending from a minimum to a maximum. When the weight is equal to the given final state, it goes back to its initial state and vice versa.
- class blending_fade_alpha_manager
- Manages the weight of the fade blending.
- class blending_fade_alpha_to_action
- Modifies the weight of the fade blending until it has a given state.
- class blending_fade_alpha_toggle_action
- Changes the weight of the fade blending when the action is updated a given number of times.
- class blending_intensity_alpha_loop_action
- Modifies the weight of the intensity blending from a minimum to a maximum. When the weight is equal to the given final state, it goes back to its initial state and vice versa.
- class blending_intensity_alpha_manager
- Manages the weight of the intensity blending.
- class blending_intensity_alpha_to_action
- Modifies the weight of the intensity blending until it has a given state.
- class blending_intensity_alpha_toggle_action
- Changes the weight of the intensity blending when the action is updated a given number of times.
- class blending_transparency_alpha_loop_action
- Modifies the weight of the transparency blending from a minimum to a maximum. When the weight is equal to the given final state, it goes back to its initial state and vice versa.
- class blending_transparency_alpha_manager
- Manages the weight of the transparency blending.
- class blending_transparency_alpha_to_action
- Modifies the weight of the transparency blending until it has a given state.
- class blending_transparency_alpha_toggle_action
- Changes the weight of the transparency blending when the action is updated a given number of times.
- class blending_transparency_attributes
- Manages the attributes to commit to the GBA transparency and intensity blendings register.
- class blending_transparency_attributes_hblank_effect_ptr
- std::shared_ptr like smart pointer that retains shared ownership of a H-Blank effect which changes the weights of the transparency and intensity blendings in each screen horizontal line.
-
template<class PropertyManager>class bool_toggle_template_action
- Toggles a boolean property when the action is updated a given number of times.
-
template<typename Value, class PropertyManager>class bool_toggle_value_template_action
- Toggles a boolean property of a value when the action is updated a given number of times.
-
template<typename Property, class PropertyManager>class by_template_action
- Modifies a property by a given delta.
-
template<typename Value, typename Property, class PropertyManager>class by_value_template_action
- Modifies the property of a value by a given delta.
- class camera_move_by_action
- Modifies the position of a camera_
ptr by a given delta. - class camera_move_loop_action
- Modifies the position of a camera_
ptr from a minimum to a maximum. When the position is equal to the given final state, it goes back to its initial state and vice versa. - class camera_move_to_action
- Modifies the position of a camera_
ptr until it has a given state. - class camera_move_toggle_action
- Changes the position of a camera_
ptr when the action is updated a given number of times. - class camera_position_manager
- Manages the position of a camera_
ptr. - class camera_ptr
- std::shared_ptr like smart pointer that retains shared ownership of a camera.
- class color
- Defines a color in the GBA format (15 bits BGR).
-
template<typename Property, class PropertyManager>class cyclic_by_template_action
- Modifies the property by delta from a minimum to a maximum. When the property is over the given maximum, it goes back to the given minimum and vice versa.
-
template<typename Value, typename Property, class PropertyManager>class cyclic_by_value_template_action
- Modifies the property of a value by delta from a minimum to a maximum. When the property is over the given maximum, it goes back to the given minimum and vice versa.
-
template<typename Property, class PropertyManager>class cyclic_duration_by_template_action
- Modifies the property by delta when the action is updated a given number of times. When the property is over the given maximum, it goes back to the given minimum and vice versa.
-
template<typename Value, typename Property, class PropertyManager>class cyclic_duration_by_value_template_action
- Modifies the property of a value by delta when the action is updated a given number of times. When the property is over the given maximum, it goes back to the given minimum and vice versa.
-
template<typename Type>struct default_delete
- Default deleter.
-
template<typename Type, int MaxSize>class deque
- Deque implementation that uses a fixed size buffer.
-
template<typename Property, class PropertyManager>class duration_by_template_action
- Modifies the property by delta when the action is updated a given number of times.
-
template<typename Value, typename Property, class PropertyManager>class duration_by_value_template_action
- Modifies the property of a value by delta when the action is updated a given number of times.
-
template<typename Type>class equal_to
- Function object for performing comparisons using the equal operator.
- class fixed_point
- Defines a two-dimensional point using fixed point precision.
- class fixed_rect
- Defines a two-dimensional rectangle using fixed point precision.
- class fixed_size
- Defines the size of a two-dimensional object using fixed point precision.
-
template<int Precision>class fixed_t
- Poor man's float.
-
template<typename Type, int MaxSize>class forward_list
- Forward list implementation that uses a fixed size buffer.
-
template<int MaxElementSize, int MaxSize>class generic_pool
- Generic pool implementation that uses a fixed size buffer.
- class green_swap_hblank_effect_ptr
- std::shared_ptr like smart pointer that retains shared ownership of a H-Blank effect which changes the state of green swap in each screen horizontal line.
- class green_swap_manager
- Manages if green swap must be enabled or not.
- class green_swap_toggle_action
- Toggles if green swap must be enabled or not when the action is updated a given number of times.
-
template<typename Type>struct hash
- Hash function object.
-
template<>struct hash<bg_palette_ptr>
- Hash support for bg_
palette_ ptr. -
template<>struct hash<bg_tiles_ptr>
- Hash support for bg_
tiles_ ptr. -
template<>struct hash<bool>
- Hash support for bool.
-
template<>struct hash<camera_ptr>
- Hash support for camera_
ptr. -
template<>struct hash<char>
- Hash support for char.
-
template<>struct hash<color>
- Hash support for color.
-
template<>struct hash<double>
- Hash support for double.
-
template<>struct hash<fixed_point>
- Hash support for fixed_
point. -
template<>struct hash<fixed_rect>
- Hash support for fixed_
rect. -
template<>struct hash<fixed_size>
- Hash support for fixed_
size. -
template<int Precision>struct hash<fixed_t<Precision>>
- Hash support for fixed_
t. -
template<>struct hash<float>
- Hash support for float.
-
template<>struct hash<hblank_effect_ptr>
- Hash support for hblank_
effect_ ptr. -
template<>struct hash<int>
- Hash support for int.
-
template<>struct hash<int16_t>
- Hash support for int16_t.
-
template<>struct hash<int64_t>
- Hash support for int64_t.
-
template<>struct hash<int8_t>
- Hash support for int8_t.
-
template<>struct hash<istring_base>
- Hash support for istring_
base. -
template<>struct hash<long double>
- Hash support for long double.
-
template<>struct hash<music_item>
- Hash support for music_
item. -
template<typename Type>struct hash<optional<Type>>
- Hash support for optional.
-
template<>struct hash<point>
- Hash support for point.
-
template<>struct hash<rect>
- Hash support for rect.
-
template<>struct hash<regular_bg_map_ptr>
- Hash support for regular_
bg_ map_ ptr. -
template<>struct hash<regular_bg_ptr>
- Hash support for regular_
bg_ ptr. -
template<>struct hash<size>
- Hash support for size.
-
template<>struct hash<sound_item>
- Hash support for sound_
item. -
template<>struct hash<sprite_affine_mat_attributes_hblank_effect_ptr>
- Hash support for sprite_
affine_ mat_ attributes_ hblank_ effect_ ptr. -
template<>struct hash<sprite_affine_mat_ptr>
- Hash support for sprite_
affine_ mat_ ptr. -
template<>struct hash<sprite_palette_ptr>
- Hash support for sprite_
palette_ ptr. -
template<>struct hash<sprite_ptr>
- Hash support for sprite_
ptr. -
template<>struct hash<sprite_tiles_ptr>
- Hash support for sprite_
tiles_ ptr. -
template<>struct hash<string_view>
- Hash support for string_
view. -
template<typename Type>struct hash<Type*>
- Hash support for pointers.
-
template<>struct hash<uint16_t>
- Hash support for uint16_t.
-
template<>struct hash<uint64_t>
- Hash support for uint64_t.
-
template<>struct hash<uint8_t>
- Hash support for uint8_t.
-
template<typename Type, typename Deleter>struct hash<unique_ptr<Type, Deleter>>
- Hash support for unique_
ptr. -
template<>struct hash<unsigned>
- Hash support for unsigned.
-
template<>struct hash<window>
- Hash support for window.
- class hblank_effect_ptr
- std::shared_ptr like smart pointer that retains shared ownership of a H-Blank effect.
- class hblank_effect_visible_manager
- Manages if a hblank_
effect_ ptr must be committed to the GBA or not. - class hblank_effect_visible_toggle_action
- Toggles if a hblank_
effect_ ptr must be committed to the GBA or not when the action is updated a given number of times. - class iany
- Base class of any.
-
template<typename Type>class ideque
- Base class of deque.
-
template<typename Type>class iforward_list
- Base class of forward_
list. -
template<int MaxElementSize>class igeneric_pool
- Base class of generic_
pool. -
template<typename Type>class ilist
- Base class of list.
- class inside_window
- Window which region can be covered by other window.
- class inside_window_visible_manager
- Manages if a inside_
window must be committed to the GBA or not. - class inside_window_visible_toggle_action
- Toggles if a inside_
window must be committed to the GBA or not when the action is updated a given number of times. -
template<typename Type>class intrusive_forward_list
- Intrusive forward list implementation.
- class intrusive_forward_list_node_type
- To be part of an intrusive_
forward_ list, values must inherit this class. -
template<class Type>class intrusive_list
- Intrusive list implementation.
- class intrusive_list_node_type
- To be part of an intrusive_
list, values must inherit this class. -
template<typename Type>class ipool
- Base class of pool.
- class istring
- Base class of string.
- class istring_base
- Base class of istring.
-
template<typename Key, typename Value, typename KeyHash, typename KeyEqual>class iunordered_map
- Base class of unordered_
map. -
template<typename Key, typename KeyHash, typename KeyEqual>class iunordered_set
- Base class of unordered_
set. -
template<typename Type>class ivector
- Base class of vector.
-
template<typename Type>class less
- Function object for performing comparisons using the less than operator.
-
template<typename Type, int MaxSize>class list
- List implementation that uses a fixed size buffer.
-
template<typename Property, class PropertyManager>class loop_template_action
- Modifies the property by delta from a minimum to a maximum. When the property is equal to the given final state, it goes back to its initial state and vice versa.
-
template<typename Value, typename Property, class PropertyManager>class loop_value_template_action
- Modifies the property of a value by delta from a minimum to a maximum. When the property is equal to the given final state, it goes back to its initial state and vice versa.
- class mosaic_attributes
- Manages the attributes to commit to the GBA mosaic register.
- class mosaic_attributes_hblank_effect_ptr
- std::shared_ptr like smart pointer that retains shared ownership of a H-Blank effect which changes the attributes to commit to the GBA mosaic register in each screen horizontal line.
- class music_item
- Contains the required information to play music.
- class music_volume_loop_action
- Modifies the volume of the active music from a minimum to a maximum. When the volume is equal to the given final state, it goes back to its initial state and vice versa.
- class music_volume_manager
- Manages the volume of the active music.
- class music_volume_to_action
- Modifies the volume of the active music until it has a given state.
- class music_volume_toggle_action
- Changes the volume of the active music when the action is updated a given number of times.
- class nullopt_t
- Empty class type used to indicate an optional type with uninitialized state.
-
template<typename Type>class optional
- Manages an optional contained value (a value that may or may not be present).
- class ostringstream
- Implements output operations on string based streams.
-
template<typename Type1, typename Type2>class pair
- Provides a way to store two heterogeneous objects as a single unit.
- class point
- Defines a two-dimensional point using integer precision.
-
template<typename Type, int MaxSize>class pool
- Pool implementation that uses a fixed size buffer.
- class random
- Fast, deterministic random number generator.
- class rect
- Defines a two-dimensional rectangle using integer precision.
- class rect_window
- Rectangular window.
- class rect_window_bottom_manager
- Manages the position of the bottom boundary of a rect_
window. - class rect_window_bottom_right_manager
- Manages the position of the bottom-right corner of a rect_
window. - class rect_window_boundaries_hblank_effect_ptr
- std::shared_ptr like smart pointer that retains shared ownership of a H-Blank effect which changes the boundaries of a rect window in each screen horizontal line.
- class rect_window_left_manager
- Manages the position of the left boundary of a rect_
window. - class rect_window_move_bottom_by_action
- Modifies the position of the bottom boundary of a rect_
window by a given delta. - class rect_window_move_bottom_loop_action
- Modifies the position of the bottom boundary of a rect_
window from a minimum to a maximum. When the position is equal to the given final state, it goes back to its initial state and vice versa. - class rect_window_move_bottom_right_by_action
- Modifies the position of the bottom-right corner of a rect_
window by a given delta. - class rect_window_move_bottom_right_loop_action
- Modifies the position of the bottom-right corner of a rect_
window from a minimum to a maximum. When the position is equal to the given final state, it goes back to its initial state and vice versa. - class rect_window_move_bottom_right_to_action
- Modifies the position of the bottom-right corner of a rect_
window until it has a given state. - class rect_window_move_bottom_right_toggle_action
- Changes the position of the bottom-right corner of a rect_
window when the action is updated a given number of times. - class rect_window_move_bottom_to_action
- Modifies the position of the bottom boundary of a rect_
window until it has a given state. - class rect_window_move_bottom_toggle_action
- Changes the position of the bottom boundary of a rect_
window when the action is updated a given number of times. - class rect_window_move_left_by_action
- Modifies the position of the left boundary of a rect_
window by a given delta. - class rect_window_move_left_loop_action
- Modifies the position of the left boundary of a rect_
window from a minimum to a maximum. When the position is equal to the given final state, it goes back to its initial state and vice versa. - class rect_window_move_left_to_action
- Modifies the position of the left boundary of a rect_
window until it has a given state. - class rect_window_move_left_toggle_action
- Changes the position of the left boundary of a rect_
window when the action is updated a given number of times. - class rect_window_move_right_by_action
- Modifies the position of the right boundary of a rect_
window by a given delta. - class rect_window_move_right_loop_action
- Modifies the position of the right boundary of a rect_
window from a minimum to a maximum. When the position is equal to the given final state, it goes back to its initial state and vice versa. - class rect_window_move_right_to_action
- Modifies the position of the right boundary of a rect_
window until it has a given state. - class rect_window_move_right_toggle_action
- Changes the position of the right boundary of a rect_
window when the action is updated a given number of times. - class rect_window_move_top_by_action
- Modifies the position of the top boundary of a rect_
window by a given delta. - class rect_window_move_top_left_by_action
- Modifies the position of the top-left corner of a rect_
window by a given delta. - class rect_window_move_top_left_loop_action
- Modifies the position of the top-left corner of a rect_
window from a minimum to a maximum. When the position is equal to the given final state, it goes back to its initial state and vice versa. - class rect_window_move_top_left_to_action
- Modifies the position of the top-left corner of a rect_
window until it has a given state. - class rect_window_move_top_left_toggle_action
- Changes the position of the top-left corner of a rect_
window when the action is updated a given number of times. - class rect_window_move_top_loop_action
- Modifies the position of the top boundary of a rect_
window from a minimum to a maximum. When the position is equal to the given final state, it goes back to its initial state and vice versa. - class rect_window_move_top_to_action
- Modifies the position of the top boundary of a rect_
window until it has a given state. - class rect_window_move_top_toggle_action
- Changes the position of the top boundary of a rect_
window when the action is updated a given number of times. - class rect_window_right_manager
- Manages the position of the right boundary of a rect_
window. - class rect_window_top_left_manager
- Manages the position of the top-left corner of a rect_
window. - class rect_window_top_manager
- Manages the position of the top boundary of a rect_
window. - class regular_bg_attributes
- Manages the attributes to commit to the GBA register of a regular background.
- class regular_bg_attributes_hblank_effect_ptr
- std::shared_ptr like smart pointer that retains shared ownership of a H-Blank effect which changes the attributes to commit to the GBA register of a regular background in each screen horizontal line.
- class regular_bg_blending_manager
- Manages if blending must be applied to a regular_
bg_ ptr or not. - class regular_bg_blending_toggle_action
- Toggles if blending must be applied to a regular_
bg_ ptr or not when the action is updated a given number of times. - class regular_bg_builder
- Creates regular_
bg_ map_ ptr objects with custom attributes. - class regular_bg_item
- Contains the required information to generate regular backgrounds and their maps.
- class regular_bg_map_item
- Contains the required information to generate regular background maps.
- class regular_bg_map_ptr
- std::shared_ptr like smart pointer that retains shared ownership of a regular background map.
- class regular_bg_mosaic_manager
- Manages if the mosaic effect must be applied to a regular_
bg_ ptr or not. - class regular_bg_mosaic_toggle_action
- Toggles if the mosaic effect must be applied to a regular_
bg_ ptr or not when the action is updated a given number of times. - class regular_bg_move_by_action
- Modifies the position of a regular_
bg_ ptr by a given delta. - class regular_bg_move_loop_action
- Modifies the position of a regular_
bg_ ptr from a minimum to a maximum. When the position is equal to the given final state, it goes back to its initial state and vice versa. - class regular_bg_move_to_action
- Modifies the position of a regular_
bg_ ptr until it has a given state. - class regular_bg_move_toggle_action
- Changes the position of a regular_
bg_ ptr when the action is updated a given number of times. - class regular_bg_position_hblank_effect_ptr
- std::shared_ptr like smart pointer that retains shared ownership of a H-Blank effect which changes the position of a regular background in each screen horizontal line.
- class regular_bg_ptr
- std::shared_ptr like smart pointer that retains shared ownership of a regular background.
- class regular_bg_visible_manager
- Manages if a regular_
bg_ ptr must be committed to the GBA or not. - class regular_bg_visible_toggle_action
- Toggles if a regular_
bg_ ptr must be committed to the GBA or not when the action is updated a given number of times. - class rule_of_three_approximation
- Approximates a rule of three cross-multiplication (x = (value * multiplier) / divisor).
- class size
- Defines the size of a two-dimensional object using integer precision.
- class sound_item
- Contains the required information to play sound effects.
-
template<typename Type>class span
- Refers to a contiguous sequence of elements with the first element of the sequence at position zero.
- class sprite_affine_mat_attributes
- Contains the attributes which define a sprite affine transformation matrix (created with sprite_
affine_ mat_ ptr static constructors). - class sprite_affine_mat_attributes_hblank_effect_ptr
- std::shared_ptr like smart pointer that retains shared ownership of a H-Blank effect which changes the attributes of a sprite_
affine_ mat_ ptr in each screen horizontal line. - class sprite_affine_mat_horizontal_flip_manager
- Manages if a sprite_
affine_ mat_ ptr is flipped in its horizontal axis or not. - class sprite_affine_mat_horizontal_flip_toggle_action
- Toggles if a sprite_
affine_ mat_ ptr must be flipped in the horizontal axis or not when the action is updated a given number of times. - class sprite_affine_mat_horizontal_scale_loop_action
- Modifies the horizontal scale of a sprite_
affine_ mat_ ptr from a minimum to a maximum. When the horizontal scale is equal to the given final state, it goes back to its initial state and vice versa. - class sprite_affine_mat_horizontal_scale_manager
- Manages the horizontal scale of a sprite_
affine_ mat_ ptr. - class sprite_affine_mat_horizontal_scale_to_action
- Modifies the horizontal scale of a sprite_
affine_ mat_ ptr until it has a given state. - class sprite_affine_mat_horizontal_scale_toggle_action
- Changes the horizontal scale of a sprite_
affine_ mat_ ptr when the action is updated a given number of times. - class sprite_affine_mat_pa_register_hblank_effect_ptr
- std::shared_ptr like smart pointer that retains shared ownership of a H-Blank effect which changes the attributes or the values to commit to the first GBA register of a sprite_
affine_ mat_ ptr in each screen horizontal line. - class sprite_affine_mat_pb_register_hblank_effect_ptr
- std::shared_ptr like smart pointer that retains shared ownership of a H-Blank effect which changes the attributes or the values to commit to the second GBA register of a sprite_
affine_ mat_ ptr in each screen horizontal line. - class sprite_affine_mat_pc_register_hblank_effect_ptr
- std::shared_ptr like smart pointer that retains shared ownership of a H-Blank effect which changes the attributes or the values to commit to the third GBA register of a sprite_
affine_ mat_ ptr in each screen horizontal line. - class sprite_affine_mat_pd_register_hblank_effect_ptr
- std::shared_ptr like smart pointer that retains shared ownership of a H-Blank effect which changes the attributes or the values to commit to the fourth GBA register of a sprite_
affine_ mat_ ptr in each screen horizontal line. - class sprite_affine_mat_ptr
- std::shared_ptr like smart pointer that retains shared ownership of a sprite affine transformation matrix.
- class sprite_affine_mat_rotate_by_action
- Modifies the rotation angle of a sprite_
affine_ mat_ ptr by delta_rotation_angle. When the rotation angle is over 360, it goes back to 0 and vice versa. - class sprite_affine_mat_rotate_loop_action
- Modifies the rotation angle of a sprite_
affine_ mat_ ptr from a minimum to a maximum. When the rotation angle is equal to the given final state, it goes back to its initial state and vice versa. - class sprite_affine_mat_rotate_to_action
- Modifies the rotation angle of a sprite_
affine_ mat_ ptr until it has a given state. - class sprite_affine_mat_rotate_toggle_action
- Changes the rotation angle of a sprite_
affine_ mat_ ptr when the action is updated a given number of times. - class sprite_affine_mat_rotation_manager
- Manages the rotation angle of a sprite_
affine_ mat_ ptr. - class sprite_affine_mat_scale_loop_action
- Modifies the scale of a sprite_
affine_ mat_ ptr from a minimum to a maximum. When the scale is equal to the given final state, it goes back to its initial state and vice versa. - class sprite_affine_mat_scale_manager
- Manages the scale of a sprite_
affine_ mat_ ptr. - class sprite_affine_mat_scale_to_action
- Modifies the scale of a sprite_
affine_ mat_ ptr until it has a given state. - class sprite_affine_mat_scale_toggle_action
- Changes the scale of a sprite_
affine_ mat_ ptr when the action is updated a given number of times. - class sprite_affine_mat_vertical_flip_manager
- Manages if a sprite_
affine_ mat_ ptr is flipped in its vertical axis or not. - class sprite_affine_mat_vertical_flip_toggle_action
- Toggles if a sprite_
affine_ mat_ ptr must be flipped in the vertical axis or not when the action is updated a given number of times. - class sprite_affine_mat_vertical_scale_loop_action
- Modifies the vertical scale of a sprite_
affine_ mat_ ptr from a minimum to a maximum. When the vertical scale is equal to the given final state, it goes back to its initial state and vice versa. - class sprite_affine_mat_vertical_scale_manager
- Manages the vertical scale of a sprite_
affine_ mat_ ptr. - class sprite_affine_mat_vertical_scale_to_action
- Modifies the vertical scale of a sprite_
affine_ mat_ ptr until it has a given state. - class sprite_affine_mat_vertical_scale_toggle_action
- Changes the vertical scale of a sprite_
affine_ mat_ ptr when the action is updated a given number of times. - class sprite_affine_second_attributes
- Manages the attributes to commit to the second GBA register of an affine sprite (with an attached sprite_
affine_ mat_ ptr). - class sprite_affine_second_attributes_hblank_effect_ptr
- std::shared_ptr like smart pointer that retains shared ownership of a H-Blank effect which changes the attributes to commit to the second GBA register of an affine sprite (with an attached sprite_
affine_ mat_ ptr) in each screen horizontal line. -
template<int MaxSize>class sprite_animate_action
- Changes the tile set of a sprite_
ptr when the action is updated a given number of times. - class sprite_blending_manager
- Manages if blending must be applied to a sprite_
ptr or not. - class sprite_blending_toggle_action
- Toggles if blending must be applied to a sprite_
ptr or not when the action is updated a given number of times. - class sprite_builder
- Creates sprite_
ptr objects with custom attributes. -
template<int MaxSize>class sprite_cached_animate_action
- Changes the tile set of a sprite_
ptr when the action is updated a given number of times. - class sprite_first_attributes
- Manages the attributes to commit to the first GBA register of a sprite.
- class sprite_first_attributes_hblank_effect_ptr
- std::shared_ptr like smart pointer that retains shared ownership of a H-Blank effect which changes the attributes to commit to the first GBA register of a sprite in each screen horizontal line.
- class sprite_font
- Contains the required information to generate text sprites.
- class sprite_horizontal_flip_manager
- Manages if a sprite_
ptr is flipped in its horizontal axis or not. - class sprite_horizontal_flip_toggle_action
- Toggles if a sprite_
ptr must be flipped in the horizontal axis or not when the action is updated a given number of times. - class sprite_horizontal_scale_loop_action
- Modifies the horizontal scale of a sprite_
ptr from a minimum to a maximum. When the horizontal scale is equal to the given final state, it goes back to its initial state and vice versa. - class sprite_horizontal_scale_manager
- Manages the horizontal scale of a sprite_
ptr. - class sprite_horizontal_scale_to_action
- Modifies the horizontal scale of a sprite_
ptr until it has a given state. - class sprite_horizontal_scale_toggle_action
- Changes the horizontal scale of a sprite_
ptr when the action is updated a given number of times. - class sprite_item
- Contains the required information to generate sprites.
- class sprite_mosaic_manager
- Manages if the mosaic effect must be applied to a sprite_
ptr or not. - class sprite_mosaic_toggle_action
- Toggles if the mosaic effect must be applied to a sprite_
ptr or not when the action is updated a given number of times. - class sprite_move_by_action
- Modifies the position of a sprite_
ptr by a given delta. - class sprite_move_loop_action
- Modifies the position of a sprite_
ptr from a minimum to a maximum. When the position is equal to the given final state, it goes back to its initial state and vice versa. - class sprite_move_to_action
- Modifies the position of a sprite_
ptr until it has a given state. - class sprite_move_toggle_action
- Changes the position of a sprite_
ptr when the action is updated a given number of times. - class sprite_palette_color_hblank_effect_ptr
- std::shared_ptr like smart pointer that retains shared ownership of a H-Blank effect which changes the color of a sprite color palette in each screen horizontal line.
- class sprite_palette_fade_loop_action
- Modifies the intensity of the fade effect applied to a sprite_
palette_ ptr from a minimum to a maximum. When the intensity is equal to the given final state, it goes back to its initial state and vice versa. - class sprite_palette_fade_manager
- Manages the intensity of the fade effect applied to a sprite_
palette_ ptr. - class sprite_palette_fade_to_action
- Modifies the intensity of the fade effect applied to a sprite_
palette_ ptr until it has a given state. - class sprite_palette_fade_toggle_action
- Changes the intensity of the fade effect applied to a sprite_
palette_ ptr when the action is updated a given number of times. - class sprite_palette_grayscale_loop_action
- Modifies the intensity of the grayscale effect applied to a sprite_
palette_ ptr from a minimum to a maximum. When the intensity is equal to the given final state, it goes back to its initial state and vice versa. - class sprite_palette_grayscale_manager
- Manages the intensity of the grayscale effect applied to a sprite_
palette_ ptr. - class sprite_palette_grayscale_to_action
- Modifies the intensity of the grayscale effect applied to a sprite_
palette_ ptr until it has a given state. - class sprite_palette_grayscale_toggle_action
- Changes the intensity of the grayscale effect applied to a sprite_
palette_ ptr when the action is updated a given number of times. - class sprite_palette_inverted_manager
- Manages if the colors of a sprite_
palette_ ptr must be inverted or not. - class sprite_palette_inverted_toggle_action
- Toggles if the colors of a sprite_
palette_ ptr must be inverted or not when the action is updated a given number of times. - class sprite_palette_item
- Contains the required information to generate sprite color palettes.
- class sprite_palette_ptr
- std::shared_ptr like smart pointer that retains shared ownership of a sprite color palette.
- class sprite_palette_rotate_by_action
- Modifies the number of colors to rotate to the right in a sprite_
palette_ ptr by delta_count when the action is updated a given number of times. When the property is over the given maximum, it goes back to the given minimum and vice versa. - class sprite_palette_rotate_loop_action
- Modifies the number of colors to rotate to the right in a sprite_
palette_ ptr from a minimum to a maximum. When the number of colors to rotate to the right is equal to the given final state, it goes back to its initial state and vice versa. - class sprite_palette_rotate_manager
- Manages the number of colors to rotate to the right in a sprite_
palette_ ptr. - class sprite_palette_rotate_to_action
- Modifies the number of colors to rotate to the right in a sprite_
palette_ ptr until it has a given state. - class sprite_palette_rotate_toggle_action
- Changes the number of colors to rotate to the right in a sprite_
palette_ ptr when the action is updated a given number of times. - class sprite_palettes_brightness_loop_action
- Modifies the brightness of all sprite color palettes from a minimum to a maximum. When the brightness is equal to the given final state, it goes back to its initial state and vice versa.
- class sprite_palettes_brightness_manager
- Manages the brightness of all sprite color palettes.
- class sprite_palettes_brightness_to_action
- Modifies the brightness of all sprite color palettes until it has a given state.
- class sprite_palettes_brightness_toggle_action
- Changes the brightness of all sprite color palettes when the action is updated a given number of times.
- class sprite_palettes_contrast_loop_action
- Modifies the contrast of all sprite color palettes from a minimum to a maximum. When the contrast is equal to the given final state, it goes back to its initial state and vice versa.
- class sprite_palettes_contrast_manager
- Manages the contrast of all sprite color palettes.
- class sprite_palettes_contrast_to_action
- Modifies the contrast of all sprite color palettes until it has a given state.
- class sprite_palettes_contrast_toggle_action
- Changes the contrast of all sprite color palettes when the action is updated a given number of times.
- class sprite_palettes_fade_loop_action
- Modifies the intensity of the fade effect applied to all sprite color palettes from a minimum to a maximum. When the intensity is equal to the given final state, it goes back to its initial state and vice versa.
- class sprite_palettes_fade_manager
- Manages the intensity of the fade effect applied to all sprite color palettes.
- class sprite_palettes_fade_to_action
- Modifies the intensity of the fade effect applied to all sprite color palettes until it has a given state.
- class sprite_palettes_fade_toggle_action
- Changes the intensity of the fade effect applied to all sprite color palettes when the action is updated a given number of times.
- class sprite_palettes_grayscale_loop_action
- Modifies the intensity of the grayscale effect applied to all sprite color palettes from a minimum to a maximum. When the intensity is equal to the given final state, it goes back to its initial state and vice versa.
- class sprite_palettes_grayscale_manager
- Manages the intensity of the grayscale effect applied to all sprite color palettes.
- class sprite_palettes_grayscale_to_action
- Modifies the intensity of the grayscale effect applied to all sprite color palettes until it has a given state.
- class sprite_palettes_grayscale_toggle_action
- Changes the intensity of the grayscale effect applied to all sprite color palettes when the action is updated a given number of times.
- class sprite_palettes_intensity_loop_action
- Modifies the intensity of all sprite color palettes from a minimum to a maximum. When the intensity is equal to the given final state, it goes back to its initial state and vice versa.
- class sprite_palettes_intensity_manager
- Manages the intensity of all sprite color palettes.
- class sprite_palettes_intensity_to_action
- Modifies the intensity of all sprite color palettes until it has a given state.
- class sprite_palettes_intensity_toggle_action
- Changes the intensity of all sprite color palettes when the action is updated a given number of times.
- class sprite_palettes_inverted_manager
- Manages if the colors of all sprite color palettes must be inverted or not.
- class sprite_palettes_inverted_toggle_action
- Toggles if the colors of all sprite color palettes must be inverted or not when the action is updated a given number of times.
- class sprite_position_hblank_effect_ptr
- std::shared_ptr like smart pointer that retains shared ownership of a H-Blank effect which changes the position of a sprite in each screen horizontal line.
- class sprite_position_manager
- Manages the position of a sprite_
ptr. - class sprite_ptr
- std::shared_ptr like smart pointer that retains shared ownership of a sprite.
- class sprite_regular_second_attributes
- Manages the attributes to commit to the second GBA register of a regular sprite (without an attached sprite_
affine_ mat_ ptr). - class sprite_regular_second_attributes_hblank_effect_ptr
- std::shared_ptr like smart pointer that retains shared ownership of a H-Blank effect which changes the attributes to commit to the second GBA register of a regular sprite (without an attached sprite_
affine_ mat_ ptr) in each screen horizontal line. - class sprite_rotate_by_action
- Modifies the rotation angle of a sprite_
ptr by delta_rotation_angle. When the rotation angle is over 360, it goes back to 0 and vice versa. - class sprite_rotate_loop_action
- Modifies the rotation angle of a sprite_
ptr from a minimum to a maximum. When the rotation angle is equal to the given final state, it goes back to its initial state and vice versa. - class sprite_rotate_to_action
- Modifies the rotation angle of a sprite_
ptr until it has a given state. - class sprite_rotate_toggle_action
- Changes the rotation angle of a sprite_
ptr when the action is updated a given number of times. - class sprite_rotation_manager
- Manages the rotation angle of a sprite_
ptr. - class sprite_scale_loop_action
- Modifies the scale of a sprite_
ptr from a minimum to a maximum. When the scale is equal to the given final state, it goes back to its initial state and vice versa. - class sprite_scale_manager
- Manages the scale of a sprite_
ptr. - class sprite_scale_to_action
- Modifies the scale of a sprite_
ptr until it has a given state. - class sprite_scale_toggle_action
- Changes the scale of a sprite_
ptr when the action is updated a given number of times. - class sprite_shape_size
- Calculates sprite dimensions from its shape and size.
- class sprite_text_generator
- Generates sprites containing text from a given sprite_
font. - class sprite_third_attributes
- Manages the attributes to commit to the third GBA register of a sprite.
- class sprite_third_attributes_hblank_effect_ptr
- std::shared_ptr like smart pointer that retains shared ownership of a H-Blank effect which changes the attributes to commit to the third GBA register of a sprite in each screen horizontal line.
- class sprite_tiles_item
- Contains the required information to generate sprite tiles.
- class sprite_tiles_ptr
- std::shared_ptr like smart pointer that retains shared ownership of the tiles of a sprite.
- class sprite_vertical_flip_manager
- Manages if a sprite_
ptr is flipped in its vertical axis or not. - class sprite_vertical_flip_toggle_action
- Toggles if a sprite_
ptr must be flipped in the vertical axis or not when the action is updated a given number of times. - class sprite_vertical_scale_loop_action
- Modifies the vertical scale of a sprite_
ptr from a minimum to a maximum. When the vertical scale is equal to the given final state, it goes back to its initial state and vice versa. - class sprite_vertical_scale_manager
- Manages the vertical scale of a sprite_
ptr. - class sprite_vertical_scale_to_action
- Modifies the vertical scale of a sprite_
ptr until it has a given state. - class sprite_vertical_scale_toggle_action
- Changes the vertical scale of a sprite_
ptr when the action is updated a given number of times. - class sprite_visible_manager
- Manages if a sprite_
ptr must be committed to the GBA or not. - class sprite_visible_toggle_action
- Toggles if a sprite_
ptr must be committed to the GBA or not when the action is updated a given number of times. - class sprite_window_manager
- Manages if a sprite_
ptr must be part of the silhouette of the sprite window or not. - class sprite_window_toggle_action
- Toggles if a sprite_
ptr must be part of the silhouette of the sprite window or not when the action is updated a given number of times. - class sprites_mosaic_horizontal_stretch_loop_action
- Modifies the horizontal stretch of the mosaic applied to the sprites from a minimum to a maximum. When the horizontal stretch is equal to the given final state, it goes back to its initial state and vice versa.
- class sprites_mosaic_horizontal_stretch_manager
- Manages the horizontal stretch of the mosaic applied to the sprites.
- class sprites_mosaic_horizontal_stretch_to_action
- Modifies the horizontal stretch of the mosaic applied to the sprites until it has a given state.
- class sprites_mosaic_horizontal_stretch_toggle_action
- Changes the horizontal stretch of the mosaic applied to the sprites when the action is updated a given number of times.
- class sprites_mosaic_stretch_loop_action
- Modifies the stretch of the mosaic applied to the sprites from a minimum to a maximum. When the stretch is equal to the given final state, it goes back to its initial state and vice versa.
- class sprites_mosaic_stretch_manager
- Manages the stretch of the mosaic applied to the sprites.
- class sprites_mosaic_stretch_to_action
- Modifies the stretch of the mosaic applied to the sprites until it has a given state.
- class sprites_mosaic_stretch_toggle_action
- Changes the stretch of the mosaic applied to the sprites when the action is updated a given number of times.
- class sprites_mosaic_vertical_stretch_loop_action
- Modifies the vertical stretch of the mosaic applied to the sprites from a minimum to a maximum. When the vertical stretch is equal to the given final state, it goes back to its initial state and vice versa.
- class sprites_mosaic_vertical_stretch_manager
- Manages the vertical stretch of the mosaic applied to the sprites.
- class sprites_mosaic_vertical_stretch_to_action
- Modifies the vertical stretch of the mosaic applied to the sprites until it has a given state.
- class sprites_mosaic_vertical_stretch_toggle_action
- Changes the vertical stretch of the mosaic applied to the sprites when the action is updated a given number of times.
-
template<int MaxSize>class string
- String implementation that uses a fixed size buffer.
- class string_view
- Refers to a constant contiguous sequence of char values.
- class tile
- Represents a 8x8 block of 16 color pixels.
- class timer
- Provides a way to calculate elapsed times.
-
template<typename Property, class PropertyManager>class to_template_action
- Modifies the property until it has a given state.
-
template<typename Value, typename Property, class PropertyManager>class to_value_template_action
- Modifies the property of a value until it has a given state.
-
template<typename Property, class PropertyManager>class toggle_template_action
- Changes the property when the action is updated a given number of times.
-
template<typename Value, typename Property, class PropertyManager>class toggle_value_template_action
- Changes the property of a value when the action is updated a given number of times.
- class type_id_t
- Unique type ID without RTTI.
-
template<typename Type, typename Deleter = default_class unique_ptr
delete<Type>> - std::shared_ptr like smart pointer that owns and manages another object through a pointer and disposes of that object when the unique_
ptr goes out of scope. -
template<typename Key, typename Value, int MaxSize, typename KeyHash, typename KeyEqual>class unordered_map
- Unordered map implementation that uses a fixed size buffer.
-
template<typename Key, int MaxSize, typename KeyHash, typename KeyEqual>class unordered_set
- Unordered set implementation that uses a fixed size buffer.
- class utf8_character
- Decodes a single UTF-8 character from a string.
-
template<typename Type, int MaxSize>class vector
- Vector implementation that uses a fixed size buffer.
- class window
- Base window class.
Enums
- enum class palette_bpp_mode { BPP_4, BPP_8 }
- Specifies the available bits per pixel modes.
- enum class sprite_double_size_mode { AUTO, ENABLED, DISABLED }
- Specifies the area a sprite uses to be drawn when it has an attached sprite_
affine_ mat_ ptr. - enum class sprite_shape { SQUARE, WIDE, TALL }
- Valid sprite shapes enum.
- enum class sprite_size { SMALL, NORMAL, BIG, HUGE }
- Valid sprite sizes enum.
Typedefs
-
using fixed = fixed_
t<12> - Default precision fixed_
t alias. - using regular_bg_map_cell = uint16_t
- Regular background map cell type alias.
- using stringstream = ostringstream
- stringstream alias.
Functions
- auto create_affine_mat_scale_lut() -> array<uint16_t, 1025> constexpr
- Returns the LUT used to invert scale values in an affine transformation matrix.
-
template<int Bytes>auto aligned(const void* pointer) -> bool
- Indicates if the given pointer is aligned to the given Bytes.
-
template<int Bytes, typename Type>auto aligned(const Type& reference) -> bool
- Indicates if the given reference to a Type object is aligned to the given Bytes.
-
template<typename Type>auto any_cast(const iany* any) -> const Type*
- Performs type-safe access to the contained object of the given iany.
-
template<typename Type>auto any_cast(iany* any) -> Type*
- Performs type-safe access to the contained object of the given iany.
-
template<typename Type, typename... Args>auto make_any(Args && ... args) -> any<sizeof(Type), alignof(Type)>
- Creates a any deducing its size and alignment from the given Type.
-
template<typename Type, int Size>auto to_array(Type(&base_array)[Size]) -> array<remove_cv_t<Type>, Size> constexpr
- Creates a btn::
array object from the given built-in array. - auto malloc(int bytes) -> void*
- Allocates size bytes of uninitialized storage in the EWRAM.
- void free(void* ptr)
- Deallocates the space previously allocated in the EWRAM by btn::
malloc. - void memcpy(void* destination, const void* source, int bytes)
- Copies the given bytes from the object pointed to by source to the object pointed to by destination.
- void memset(void* destination, uint8_t value, int bytes)
- Copies the given value into each of the first given bytes of the object pointed to by destination.
- void memclear(void* destination, int bytes)
- Copies the value
0
into each of the first given bytes of the object pointed to by destination. -
template<typename Type>void hash_combine(const Type& value, unsigned& result) constexpr
- Combines the hash of the given value with another hash.
- auto array_hash(const void* ptr, int size) -> unsigned constexpr
- Calculates the hash of the given plain data array.
-
template<typename Type>auto make_hash(const Type& value) -> unsigned constexpr
- Returns the hash of the given value.
-
void log(const istring_
base& message) - Prints in one line of text the given message.
-
template<typename Type>auto abs(Type value) -> Type constexpr
- Returns the absolute value of the given value.
- auto sqrt(int value) -> int constexpr
- Returns the integer square root of the given value.
-
template<int Precision>auto sqrt(fixed_
t<Precision> value) -> fixed_ t<(Precision+1)/2> constexpr - Returns the fixed point square root of the given value.
-
template<typename Type>auto newton_raphson_sqrt(Type value) -> Type constexpr
- Returns the square root of the given value using the Newton–Raphson method.
- auto degrees_sin(fixed degrees_angle) -> fixed constexpr
- Calculates the sine value of an angle in degrees.
- auto lut_sin(int lut_angle) -> fixed constexpr
- Calculates the sine value of an angle using a LUT.
- auto degrees_cos(fixed degrees_angle) -> fixed constexpr
- Calculates the cosine value of an angle in degrees.
- auto lut_cos(int lut_angle) -> fixed constexpr
- Calculates the cosine value of an angle using a LUT.
-
template<typename Type, class... Args>auto make_unique(Args && ... args) -> unique_
ptr<Type> - Constructs an object and wraps it in a unique_
ptr. -
template<typename Type, class... Args>auto make_optional(Args && ... args) -> optional<Type>
- Constructs an object and wraps it in a optional.
-
template<typename Type>auto power_of_two(Type value) -> bool constexpr
- Indicates if the given value is a power of two or not.
-
template<typename ... Args>auto create_sprite_animate_action_once(const sprite_
ptr& sprite, int wait_updates, const sprite_ tiles_ item& tiles_item, Args ... graphics_indexes) -> auto - Generates a sprite_
animate_ action which loops over the given sprite tile sets only once. -
template<typename ... Args>auto create_sprite_animate_action_once(sprite_
ptr&& sprite, int wait_updates, const sprite_ tiles_ item& tiles_item, Args ... graphics_indexes) -> auto - Generates a sprite_
animate_ action which loops over the given sprite tile sets only once. -
template<typename ... Args>auto create_sprite_animate_action_forever(const sprite_
ptr& sprite, int wait_updates, const sprite_ tiles_ item& tiles_item, Args ... graphics_indexes) -> auto - Generates a sprite_
animate_ action which loops over the given sprite tile sets forever. -
template<typename ... Args>auto create_sprite_animate_action_forever(sprite_
ptr&& sprite, int wait_updates, const sprite_ tiles_ item& tiles_item, Args ... graphics_indexes) -> auto - Generates a sprite_
animate_ action which loops over the given sprite tile sets forever. -
template<typename ... Args>auto create_sprite_cached_animate_action_once(const sprite_
ptr& sprite, int wait_updates, const sprite_ tiles_ item& tiles_item, Args ... graphics_indexes) -> auto - Generates a sprite_
cached_ animate_ action which loops over the given sprite tile sets only once. -
template<typename ... Args>auto create_sprite_cached_animate_action_once(sprite_
ptr&& sprite, int wait_updates, const sprite_ tiles_ item& tiles_item, Args ... graphics_indexes) -> auto - Generates a sprite_
cached_ animate_ action which loops over the given sprite tile sets only once. -
template<typename ... Args>auto create_sprite_cached_animate_action_forever(const sprite_
ptr& sprite, int wait_updates, const sprite_ tiles_ item& tiles_item, Args ... graphics_indexes) -> auto - Generates a sprite_
cached_ animate_ action which loops over the given sprite tile sets forever. -
template<typename ... Args>auto create_sprite_cached_animate_action_forever(sprite_
ptr&& sprite, int wait_updates, const sprite_ tiles_ item& tiles_item, Args ... graphics_indexes) -> auto - Generates a sprite_
cached_ animate_ action which loops over the given sprite tile sets forever. - auto operator<<(ostringstream& stream, char character) -> ostringstream&
- Appends an additional character to the given ostringstream.
-
auto operator<<(ostringstream& stream,
const string_
view& view) -> ostringstream& - Appends additional characters to the given ostringstream.
-
auto operator<<(ostringstream& stream,
const istring_
base& string) -> ostringstream& - Appends additional characters to the given ostringstream.
- auto operator<<(ostringstream& stream, const char* char_array_ptr) -> ostringstream&
- Appends additional characters to the given ostringstream.
-
template<int MaxSize>auto operator<<(ostringstream& stream, char(&char_array)[MaxSize]) -> ostringstream&
- Appends additional characters to the given ostringstream.
- auto operator<<(ostringstream& stream, bool value) -> ostringstream&
- Appends the character representation of the given bool value to the given ostringstream.
- auto operator<<(ostringstream& stream, int value) -> ostringstream&
- Appends the character representation of the given int value to the given ostringstream.
- auto operator<<(ostringstream& stream, long value) -> ostringstream&
- Appends the character representation of the given long value to the given ostringstream.
- auto operator<<(ostringstream& stream, int64_t value) -> ostringstream&
- Appends the character representation of the given int64_t value to the given ostringstream.
- auto operator<<(ostringstream& stream, unsigned value) -> ostringstream&
- Appends the character representation of the given unsigned value to the given ostringstream.
- auto operator<<(ostringstream& stream, unsigned long value) -> ostringstream&
- Appends the character representation of the given unsigned long value to the given ostringstream.
- auto operator<<(ostringstream& stream, uint64_t value) -> ostringstream&
- Appends the character representation of the given uint64_t value to the given ostringstream.
- auto operator<<(ostringstream& stream, const void* ptr) -> ostringstream&
- Appends the character representation of the given pointer to the given ostringstream.
- auto operator<<(ostringstream& stream, const nullptr_t& null_ptr) -> ostringstream&
- Appends the character representation of the given null pointer to the given ostringstream.
-
template<int Precision>auto operator<<(ostringstream& stream, fixed_
t<Precision> value) -> ostringstream& - Appends the character representation of the given fixed point value to the given ostringstream.
-
template<int MaxSize>auto make_string(const char(&char_array)[MaxSize]) -> string<MaxSize - 1>
- Creates a string deducing its size from the size of the argument.
-
template<int MaxSize, typename Type>auto to_string(const Type& value) -> string<MaxSize>
- Converts the given value to a string.
-
template<typename Type>auto type_id() -> type_
id_ t - Returns the type_
id_ t of the specified type. -
template<typename Type1, typename Type2>auto make_pair(Type1&& x, Type2&& y) -> pair<typename decay<Type1>::type, typename decay<Type2>::type> constexpr
- Creates a pair deducing its types from the types of the arguments.
Variables
- const array<uint16_t, 1025> affine_mat_scale_lut constexpr
- LUT used to invert scale values in an affine transformation matrix.
-
const nullopt_
t nullopt constexpr - Constant of type nullopt_
t used to indicate an optional type with uninitialized state. - const int16_t sin_lut constexpr
- A 514 long sin LUT of 16bit values in 4.12 format.
Typedef documentation
typedef fixed_ t<12> btn:: fixed
#include <btn_fixed.h>
Default precision fixed_
using btn:: regular_bg_map_cell = uint16_t
#include <btn_regular_bg_map_cell.h>
Regular background map cell type alias.
using btn:: stringstream = ostringstream
#include <btn_sstream.h>
stringstream alias.
Function documentation
#include <btn_type_id.h>
template<typename Type>
type_ id_ t btn:: type_id()
Returns the type_
Variable documentation
const nullopt_ t btn:: nullopt constexpr
#include <btn_optional.h>
Constant of type nullopt_


In addition to profiling your app live with Detox Instruments, you can start recordings in code for finer-grained control and testing scenarios where live recording is not applicable, such as app launch. This can be achieved with the Profiler API.
Before using the provided developer APIs, first complete the Profiler Framework Integration Guide.
#import <DTXProfiler/DTXProfiler.h>
DTXMutableProfilingConfiguration* configuration = DTXMutableProfilingConfiguration.defaultProfilingConfiguration;
configuration.recordingFileURL = //Set the recording document URL here
DTXProfiler* profiler = [[DTXProfiler alloc] init];
[profiler startProfilingWithConfiguration:configuration];
//...
[profiler stopProfilingWithCompletionHandler: ^(NSError* error) {
NSLog(@"Finished recording with<EMAIL_ADDRESS>error.localizedDescription ?: @"no error");
}];
import DTXProfiler
let configuration = DTXMutableProfilingConfiguration.default()
configuration.recordingFileURL = //Set the recording document URL here
let profiler = DTXProfiler()
profiler.startProfiling(with: configuration)
//...
profiler.stopProfiling { error in
print("Finished profiling with \(error?.localizedDescription ?? "no error").")
}
DTXProfilingConfiguration
& DTXMutableProfilingConfiguration


Neil Degrasse Tyson
Content
- Introduction
- Products
- Why I chose him
- What fascinates me about him
Introduction
- Born 5. October 1958 in New York
- Astrophysicist
- Physical cosmology
- Science communication
Astrophysics
- Explains
- Of stars, planets, galaxies etc...
Physical cosmology
- About
- Origin
- Evolution
- Structure
- Of the cosmos
His Products
- 12 Books
- Astrophysics for people in a hurry
- Death by black hole
- TV - show
Why I chose him
- Collabs with celebtrities
- Goal: Bring people closer to science
What fascinates me about him
- Bring people closer to science


12. Standalone Tools¶
12.1. Defect Finder¶
The defect finder takes a POSCAR file and finds vacancies and interstitials. The defect finder currently exists in a separate repository. You may test it online at materialshub.org > Resources > Tools > Defect Finder


Testing PI:popfragment
Some text
Just move the cursor over this text and you will see what I mean.
Ronaldinho and Kaka are two Brazilian footballers
who have been for AC Milan
Associazione Calcio Milan
Associazione Calcio Milan, commonly referred to as A.C. Milan or simply Milan, is an Italian professional football club based in Milan, Lombardy. It was founded in 1899. The club has spent most of its history in Serie A, the top-flight of Italian football, having played only two seasons in Serie B in the early 1980
Milan's home games are played at San Siro, also known as the Stadio Giuseppe Meazza. The stadium, which is shared with Inter, is the largest in Italian football, with a total capacity of 80,074
Ricardo Izecson dos Santos Leite
born 22 April 1982, commonly known as Kaká, is a Brazilian football midfielder who currently plays for Spanish La Liga club Real Madrid and the Brazilian national team. He also holds an Italian passport, which enables him to play as an EU player. He started his footballing career at the age of eight, when he began playing for a local club. At the time, he also played tennis, and it was not until he moved on to São Paulo FC and signed his first professional contract with the club at the age of fifteen that he chose to focus on football.
Ronaldo de Assis Moreira
born 21 March 1980 in Porto Alegre, commonly known as Ronaldinho or Ronaldinho Gaúcho, is a Brazilian footballer who plays for Italian Serie A club A.C. Milan and the Brazilian national team. He is a free-kick specialist and has exceptional dribbling ability.
Ronaldinho, Portuguese for "Little Ronaldo," is known in Brazil by the nickname "Gaúcho," in order to distinguish him from Ronaldo, who was already called "Ronaldinho" in Brazil. Ronaldo simply went by his first name upon his move to Europe, thereby allowing Ronaldinho to drop the "Gaúcho" and remain simply as Ronaldinho.
Content file for this page
Script
Defined fragments


string2 = Strings.substring(string, startIndex, endIndex);
This function returns the substring from position startIndex up to and including position endIndex of "string" .
If index, startIndex, or endIndex are not correct, e.g., if endIndex > length(string), an assert is triggered.
string1 := "This is line 111"; string2 := Strings.substring(string1,9,12); // string2 = "line"
function substring extends Modelica.Icons.Function; input String string "String from which a substring is inquired"; input Integer startIndex(min = 1) "Character position of substring begin (index=1 is first character in string)"; input Integer endIndex(min = 1) "Character position of substring end"; output String result "String containing substring string[startIndex:endIndex]"; end substring;


RT @rbonales: G'day! This year the inimitable @hone02 will take you on a Ruby objects walkabout! https://ruby.onales.com/speakers#rubyobjects:awalkabout-by-terencelee
3/2/2015, 7:04:20 PM
Favs: 0
Retweets: 0
link--- layout: tweet ---
RT @rbonales: G'day! This year the inimitable @hone02 will take you on a Ruby objects walkabout! https://ruby.onales.com/speakers#rubyobjects:awalkabout-by-terencelee
3/2/2015, 7:04:20 PM
Favs: 0
Retweets: 0
link


Toggle navigation
Home
HCI College
Monday
Tuesday
Wednesday
Thursday
Friday
8:00am
8:30am
9:00am
9:30am
10:00am
10:30am
11:00am
11:30am
12:00pm
12:30pm
1:00pm
1:30pm
2:00pm
2:30pm
3:00pm
3:30pm
4:00pm
4:30pm
5:00pm


I'm an ECE 3rd year undergraduate @ KLE Technological University. I’m an aspiring front end engineer, Check out a few of my Projects👇


caHOPE - A Data Analytics System for caCURE
Area Chart Showing Trends of Survivorship
Area Chart: Filtered
Display as a function of:
Number of Patients
Percentage of Patients
Display with an incremental x-axis scale of:
3 months
4 months
6 months
12 months
Unfiltered Table
Table A: Unfiltered
Filtered Table A
Table B: (Filtered version of Table A)
Table Showing Trends of Survivorship (Unfiltered)
Table D
Table Showing Trends of Survivorship (Filtered)
Table E


Perf Report:
Test (Frame #23)
Worker Thread 0
expand all
|
collapse all
View as:
tree
|
flat
Worker Thread 1
expand all
|
collapse all
View as:
tree
|
flat
Worker Thread 2
expand all
|
collapse all
View as:
tree
|
flat
CUMULATIVE
expand all
|
collapse all
View as:
tree
|
flat


Extends package 'arules' with various visualization techniques for association rules and itemsets. The package also includes several interactive visualizations for rule exploration.
| Version: |
1.3-2 |
| Depends: |
arules (≥ 1.4.1), grid |
| Imports: |
scatterplot3d, vcd, seriation, igraph (≥ 1.0.0), graphics, methods, utils, grDevices, stats, colorspace, DT, plotly, visNetwork |
| Suggests: |
graph, Rgraphviz, iplots, shiny, htmlwidgets |
| Published: |
2018-12-05 |
| Author: |
Michael Hahsler [aut, cre, cph],
Giallanza Tyler [ctb],
Sudheer Chelluboina [ctb] |
| Maintainer: |
Michael Hahsler <mhahsler at lyle.smu.edu> |
| BugReports: |
https://github.com/mhahsler/arulesViz |
| License: |
GPL-3 |
| Copyright: |
(C) 2018 Michael Hahsler, Tyler Giallanza and Sudheer
Chelluboina |
| URL: |
https://github.com/mhahsler/arulesViz,
http://lyle.smu.edu/IDA/arules/ |
| NeedsCompilation: |
no |
| Materials: |
README NEWS |
| CRAN checks: |
arulesViz results |


Data Feed: SecurityMaster
Category: MasterFeed
| Field | Vision Property | Type | Description |
|---|---|---|---|
| --- Required Fields --- | |||
| entityId | code | String | id of new or existing Security instance |
| currencyId | baseCurrency | String | id of existing Currency instance |
| --- Suggested Fields --- | |||
| companyId | company | String | id of underlying Company instance which issued this security |
| cusip | cusip | String | 8 or 9 character Cusip |
| name | name | String | security name |
| sedol | sedol | String | 6 or 7 character Sedol |
| ticker | ticker | String | Ticker symbol |
| type | type | String | id of existing SecurityType instance |
| --- Other Fields --- | |||
| isin | isin | String | isin id |
| latestMarket CapUS | latestMarket CapUS | Number | latest mcap available (in US$) |
| sharesOut | _sharesOut | Number | latest shares outstanding |
| shortName | shortName | String | short name |
| sortCode | sortCode | String | sort code |
| valor | valor | String | valor id |
| terminateFlag | deletionDate | Date | date the security became inactive |
Named Security at: "id" .
The following tab-delimited feed could be used to create and refresh security instances:
Interface ExternalFeedManager upload: "securityMaster" using: "entityId name companyId cusip ticker currencyId type 00036110 AAR CORP COM 00036110 00036100 AIR USD 1 00079410 ACC CORP COM 00079410 00079410 ACCC USD 1 00095710 ABM INDS INC 00095710 00095710 AMB USD 1 " ;
| Copyright © 2000 Innovative Systems Techniques, Inc. | Updated December 15, 2000 |


List of FeeMember Empty
List of User Pay Inscriptions
Year
Price
State
Method
Installment
2015
price
State
Method
installment of installments
List of pay programs
Program
Accounts
Date
Price
State
Method
Mobile
name
May of 2015
price
State
Method
mobile


| Number of Classes | Line Coverage | Mutation Coverage | Mutation Score |
|---|---|---|---|
| 6 | 74% | 55% | 71%
Killed: 35
Uncertain: 1
|
| Name | Line Coverage | Mutation Coverage | Mutation Score |
|---|---|---|---|
| MultiContent.java | 84% |
50% |
88%
Killed: 7
Uncertain: 0
|
| MultiTemplateContent.java | 70% |
44% |
80%
Killed: 4
Uncertain: 0
|
| ParsedContent.java | 57% |
56% |
56%
Killed: 9
Uncertain: 0
|
| StringContent.java | 100% |
70% |
100%
Killed: 6
Uncertain: 0
|
| TemplateContent.java | 100% |
52% |
89%
Killed: 8
Uncertain: 1
|
| TemplateVariantContent.java | 44% |
14% |
20%
Killed: 1
Uncertain: 0
|


The system page lets you access an OutBox page for each user on the system. You can also see a snapshot image from the system's camera if one is available, and get hardware information about the system.
You can customize the page using an HTML editor. The default editor is Cosmo Create. When editing the page, take care not to remove the comment lines marked DO NOT REMOVE. (Commented, or hidden text appears in Cosmo Create with the icon <!-- -->. If you press Ctrl+E, you'll see the hidden text.)
Use the following buttons on the system page to:
Customize the system's web page.
View a picture from the system's camera.
Display information about this system.
Set up access controls for this system's OutBox pages.
Get help.
When a user logs into a new account, an OutBox home page is automatically created for the user, and the user name is added to the OutBox home page for your system.
When you remove a user account from the system, the OutBox home page for your system does not automatically remove the user from its user list. To edit the user list, open the file /var/www/htdocs/userList.html and remove the user entry.


{% extends "global/Base.html" %} {% load staticfiles otree_tags %} {% block title %} Survey {% endblock %} {% block content %}
Please answer the following questions.
{% formfield player.crt_bat with label="A bat and a ball cost 22 dollars in total. The bat costs 20 dollars more than the ball. How many dollars does the ball cost?" %} {% formfield player.crt_widget with label="If it takes 5 machines 5 minutes to make 5 widgets, how many minutes would it take 100 machines to make 100 widgets?" %} {% formfield player.crt_lake with label="In a lake, there is a patch of lily pads. Every day, the patch doubles in size.If it takes 48 days for the patch to cover the entire lake, how many days would it take for the patch to cover half of the lake?" %} {% endblock %}


--- layout: post title: 7/9 date: '2013-07-09T22:07:00.001-06:00' author: Jacob . tags: - front-page modified_time: '2013-08-23T21:51:52.883-06:00' blogger_id: tag:blogger.com,1999:blog-6400085873105072120.post-8802848897122155318 blogger_orig_url: http://www.svlark.com/2013/07/79.html --- Alright we're finally going to get around to these first aid classes. We're going to try to sign up tomorrow.


| Pocket Paired™ | ||||
| Hands # | Hands % | Amount $ | Amount % | |
| Total: | 0 | 0% | $0 | 0% |
| Win: | 0 | 0% | $0 | 0% |
| Lose: | 0 | 0% | $0 | 0% |
| Push: | 0 | 0% | $0 | 0% |
|
Winning Hands |
||||
| Player High Card: | 0 | 0% | $0 | 0% |
| Dealer Pair: | 0 | 0% | $0 | 0% |
| Player Pair: | 0 | 0% | $0 | 0% |
| Pocket Pair: | 0 | 0% | $0 | 0% |
| Pocket Trips: | 0 | 0% | $0 | 0% |
| Pocket Quads: | 0 | 0% | $0 | 0% |
|
Losing Hands |
||||
| Player Ace: | 0 | 0% | $0 | 0% |
| Killer Ace: | 0 | 0% | $0 | 0% |
| Dealer Ace: | 0 | 0% | $0 | 0% |
| Dealer High Card: | 0 | 0% | $0 | 0% |
|
Bonus Bets |
||||
| Total Bonus: | 0 | 0% | $0 | 0% |
| Perfect Pair: | 0 | 0% | $0 | 0% |
| Pocket Paired™
Game Instructions |
|
Pocket Paired is a fun and exciting game that is easy to learn and offers huge payouts!
Are you feeling lucky? Are you ready to win? Then get ready to play Pocket Paired! Pocket Paired Goal The goal of Pocket Paired is simple: make a pair. If you get a pair: you win! If the dealer gets a pair: you win!  But watch out, if you or the dealer gets a single ace then you lose. If there are no pairs and no aces, then whoever has the highest card wins! What Is A Pocket Pair? Your first two cards are your pocket cards.  Normally a pair of cards will instantly pay 1:1 for each card in the pair. With a Pocket Pair, each card pays double - 2:1. Not only that, but you also have the option to go for Pocket Trips and even Pocket Quads. Starting Bets Place your starting bets in the two playing circles. You must bet at least the table minimum for each of your first two cards. Later you can buy up to two more cards for the same amount as your initial bets. Dealing Rounds 1st Round: After your initial bets are placed, the first round of cards will be dealt. For the first round each player gets two cards face up - one for each bet. Additionally, the dealer receives three cards face down. After the 1st round is dealt, the dealer checks if any player has a pair or ace. Any Pocket Pair pays instantly, before the dealer cards are shown, and the player has the option of Pocket Trips/Quads. Any unlucky ace will lose instantly. Then, after checking the players cards, the first dealer card is revealed. If a very unlucky dealer ace is shown then every player loses. 2nd Round: After revealing the first dealer card, each remaining player has the option to Hit or Stand. If you want to Hit and take a third card, simply place another bet on the board. The bet must be the same size as your original bets. Again, if you make a pair then you win instantly but if you get an ace then you lose. If you choose to Stand, then you will only have your previous cards and you will not have the option to get any more later. Then, after each player has the option to Hit or Stand, the second dealer card is revealed. And again, if an unlucky dealer ace is shown then every player loses. However, if the second dealer card makes a dealer pair, then everyone at the table wins instantly and pays 1:1 for one bet. 3rd Round: After revealing the second dealer card, remaining players again have the option to Hit or Stand. Only players that Hit on the previous round have the option to take a fourth card. The bet must be the same and pairs/aces resolve instantly. Finally, the last dealer card is revealed. Again, if the dealer has a pair then everyone remaining wins and if the dealer has an ace then everyone remaining loses. If there is no dealer pair or ace, then the dealer compares high card with each remaining player. If the players highest card is highest than the dealers highest card, then that single bet wins and pays 1:1. However, if the dealers highest card beats the players, then that single bet loses. Pocket Trips/Quads If you get Pocket Paired - congratulations you won! Now you have the option to win even more money! You can either take your winnings which pay 2:1. Or, you can go for Pocket Trips! To bet on Pocket Trips, simply place another bet that is the same as the original and you get one more card. If that card matches your Pocket Pair, then you got Pocket Trips and you win 2x2x2 = 8. Each bet pays 8:1 so you win three times over.  Or, you can go for the big win - Pocket Quads.  If that fourth card matches your other cards, then you just got Pocket Quads and you win 2x2x2x2 = 16. Each bet pays 16:1 so you win four times over. Warning: Watch out for an ace! If you go for Pocket Trips/Quads and don't get a match, no problem. You still get paid for your previous win. Unless, of course, you get a single ace. Then you lose all your bets and what you would have won before. Going for Pocket Trips and Pocket Quads is not without risk! Unless of course, your Pocket Pair was a pair of aces - then there is no way to lose! Normally, if you get a single ace you lose. But if you already have aces, then another ace will just give you Pocket Trip or Pocket Quads. Examples: If you bet $5 for the initial bet, you would have placed two $5 bets - total of $10. If you get Pocket Paired, then each bet pays 2:1 so you won $10 for each bet - total of $20. Plus, you keep your bets. If you go for Pocket Trips you bet another $5 - total of $15. If you get Pocket Trips, then each bet pays 8:1 so you won $40 for each bet - total of $120. That is $100 more than just with Pocket Paired. Again, you keep your bets. And finally, if you go for Pocket Quads you pet another $5 - total of $20. If you get Pocket Quads, now each bet pays 16:1 so you won $80 for each bet - total of $320. That is $200 more than Pocket Trips and $300 more than Pocket Paired.  Aces Aces are the enemy in Pocket Paired. Aces are sad and alone - 1 truly is the loneliest number. If you ever get a single ace, then you lose. If the dealer ever gets a single ace, then everyone at the table loses. Aces are awful. Like every good rule, the ace does make an exception. If the ace is paired, then you win as usual. The only time an ace can be paired is with two cards at once - Pocket Paired. And if you get pair of aces in your pocket then you are very lucky. Because Pocket Paired aces cannot lose when going for Pocket Trips or Pocket Quads. High Card If neither player nor dealer has a pair or ace, then you go to a show down for High Card. This is simple: whoever has the highest card wins. High Card is only played for a single card and a single bet. If your highest card beats the dealer's highest card then you win 1:1 for that single bet. On the other hand, if the dealer's highest card beats your highest card then you lose the single bet for that card. High Card Tie: There is only one way to push in Pocket Paired: High Card Tie.  Advanced Strategy The key is knowing when to hit and take another card. Due to the odds and payouts, you should always go for Pocket Trips and Pocket Quads. It is basically equally likely that you will get either a matching card or an ace. But since the matching card pays much more (8:1 or 16:1) you should always make the bet. Of course, you are placing your guaranteed winning on the line, but this is really the best bet in any casino. Hitting when you don't have Pocket Paired is more complicated. The only way to get a pair and win big is to hit. However, the more cards you take the more chance you have to get an ace.  So, you are risking more money for the same return. If there is no pair or ace, either you or the dealer, then you need a high card. Therefore, you should always hit if your high card is lower than the dealer high card. Based on the odds of hitting an ace, hitting a pair, and winning/losing with high card, you should also hit if your high card is a 10 or lower. Basically, you should only stand if you have a face card higher than the dealer. Basic Summary Pair good! Ace bad! Have fun! Win money! |
| Copyright © 2013 - Pocket Paired™ - All Rights Reserved |
| Pocket Quads: | 4 Bets Win 16:1 |
| Pocket Trips: | 3 Bets Win 8:1 |
| Pocket Pair: | 2 Bets Win 2:1 |
| Player Pair: | 2 Bets Win 1:1 |
| Dealer Pair: | 1 Bet Wins 1:1 |
| High Card Win: | 1 Bet Wins 1:1 |
| High Card Tie: | Push / Tie |
| High Card Lose: | 1 Bet Lost |
| Any Single Ace: | All Bets Lost |
| Pocket Paired™ |
| Perfect Pair™ Bonus $1 | |
| Perfect Aces: | $1,000 |
| Perfect Kings: | $500 |
| Perfect Queens: | $250 |
| Perfect Jacks: | $150 |
| Perfect 10s: | $100 |
| Perfect 9s: | $81 |
| Perfect 8s: | $64 |
| Perfect 7s: | $49 |
| Perfect 6s: | $36 |
| Perfect 5s: | $25 |
| Perfect 4s: | $16 |
| Perfect 3s: | $9 |
| Perfect 2s: | $4 |
| Perfect Squared™ |


Dr. Norman Borlaug
The man who saved a billion lives
Here's a timeline of Dr. Borlaug's life:
- 1914 - Born in Cresco, Iowa
- 1933 - Leaves his family's farm to attend the University of Minnesota, thanks to a Depression era program known as the "National Youth Administration"
"Borlaug's life and achievement are testimony to the far-reaching contribution that one man's towering intellect, persistence and scientific vision can make to human peace and progress."
-- Indian Prime Minister Manmohan Singh


References and Notes for Barium ( Ba )
KFW02 J. Z. Klose, J. R. Fuhr, and W. L. Wiese J. Phys. Chem Ref. Data, 31, 217 (2002).
KL99 H. Karlsson and U. Litzén, Phys. Scr. 60, 321 (1999).
PVHA85 B. H. Post, W. Vassen, W. Hogervorst, M. Aymar, and O. Robaux, J. Phys. B 18, 187 (1985). The value for the Ba I ionization energy quoted here is 0.01 cm-1 higher than the value given in this reference, as suggested in [KL99] on the basis of an improved value for the 6s5d 3D1 level.


{{define "home"}}
Think of something, anything, in your head. I will ask you a series of yes or no questions. When I'm confident what you are thinking, I will guess!


State & First
State & Sixth
State & Fifteenth
Fifteenth & Morrison
4:00
4:05
4:11
4:19
5:00
5:05
5:11
5:19
6:00
6:05
6:11
6:19
Manager Work Days
Day
Manager
Monday
Erol
Tuesday
David
Wednesday
Carol
Thursday
Susan
Friday
Piere


# -*- coding: utf-8 -*-
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
import email
import imaplib
import os.path
import re
from airflow import LoggingMixin, AirflowException
from airflow.hooks.base_hook import BaseHook
[docs]class ImapHook(BaseHook):
"""
This hook connects to a mail server by using the imap protocol.
:param imap_conn_id: The connection id that contains the information used to authenticate the client.
:type imap_conn_id: str
"""
def __init__(self, imap_conn_id='imap_default'):
super(ImapHook, self).__init__(imap_conn_id)
self.conn = self.get_connection(imap_conn_id)
self.mail_client = imaplib.IMAP4_SSL(self.conn.host)
[docs] def __enter__(self):
self.mail_client.login(self.conn.login, self.conn.password)
return self
[docs] def __exit__(self, exc_type, exc_val, exc_tb):
self.mail_client.logout()
[docs] def has_mail_attachment(self, name, mail_folder='INBOX', check_regex=False):
"""
Checks the mail folder for mails containing attachments with the given name.
:param name: The name of the attachment that will be searched for.
:type name: str
:param mail_folder: The mail folder where to look at.
:type mail_folder: str
:param check_regex: Checks the name for a regular expression.
:type check_regex: bool
:returns: True if there is an attachment with the given name and False if not.
:rtype: bool
"""
mail_attachments = self._retrieve_mails_attachments_by_name(name,
mail_folder,
check_regex,
latest_only=True)
return len(mail_attachments) > 0
[docs] def retrieve_mail_attachments(self,
name,
mail_folder='INBOX',
check_regex=False,
latest_only=False,
not_found_mode='raise'):
"""
Retrieves mail's attachments in the mail folder by its name.
:param name: The name of the attachment that will be downloaded.
:type name: str
:param mail_folder: The mail folder where to look at.
:type mail_folder: str
:param check_regex: Checks the name for a regular expression.
:type check_regex: bool
:param latest_only: If set to True it will only retrieve
the first matched attachment.
:type latest_only: bool
:param not_found_mode: Specify what should happen if no attachment has been found.
Supported values are 'raise', 'warn' and 'ignore'.
If it is set to 'raise' it will raise an exception,
if set to 'warn' it will only print a warning and
if set to 'ignore' it won't notify you at all.
:type not_found_mode: str
:returns: a list of tuple each containing the attachment filename and its payload.
:rtype: a list of tuple
"""
mail_attachments = self._retrieve_mails_attachments_by_name(name,
mail_folder,
check_regex,
latest_only)
if not mail_attachments:
self._handle_not_found_mode(not_found_mode)
return mail_attachments
[docs] def download_mail_attachments(self,
name,
local_output_directory,
mail_folder='INBOX',
check_regex=False,
latest_only=False,
not_found_mode='raise'):
"""
Downloads mail's attachments in the mail folder by its name to the local directory.
:param name: The name of the attachment that will be downloaded.
:type name: str
:param local_output_directory: The output directory on the local machine
where the files will be downloaded to.
:type local_output_directory: str
:param mail_folder: The mail folder where to look at.
:type mail_folder: str
:param check_regex: Checks the name for a regular expression.
:type check_regex: bool
:param latest_only: If set to True it will only download
the first matched attachment.
:type latest_only: bool
:param not_found_mode: Specify what should happen if no attachment has been found.
Supported values are 'raise', 'warn' and 'ignore'.
If it is set to 'raise' it will raise an exception,
if set to 'warn' it will only print a warning and
if set to 'ignore' it won't notify you at all.
:type not_found_mode: str
"""
mail_attachments = self._retrieve_mails_attachments_by_name(name,
mail_folder,
check_regex,
latest_only)
if not mail_attachments:
self._handle_not_found_mode(not_found_mode)
self._create_files(mail_attachments, local_output_directory)
[docs] def _handle_not_found_mode(self, not_found_mode):
if not_found_mode == 'raise':
raise AirflowException('No mail attachments found!')
elif not_found_mode == 'warn':
self.log.warning('No mail attachments found!')
elif not_found_mode == 'ignore':
pass # Do not notify if the attachment has not been found.
else:
self.log.error('Invalid "not_found_mode" %s', not_found_mode)
[docs] def _retrieve_mails_attachments_by_name(self, name, mail_folder, check_regex, latest_only):
all_matching_attachments = []
self.mail_client.select(mail_folder)
for mail_id in self._list_mail_ids_desc():
response_mail_body = self._fetch_mail_body(mail_id)
matching_attachments = self._check_mail_body(response_mail_body, name, check_regex, latest_only)
if matching_attachments:
all_matching_attachments.extend(matching_attachments)
if latest_only:
break
self.mail_client.close()
return all_matching_attachments
[docs] def _list_mail_ids_desc(self):
result, data = self.mail_client.search(None, 'All')
mail_ids = data[0].split()
return reversed(mail_ids)
[docs] def _fetch_mail_body(self, mail_id):
result, data = self.mail_client.fetch(mail_id, '(RFC822)')
mail_body = data[0][1] # The mail body is always in this specific location
mail_body_str = mail_body.decode('utf-8')
return mail_body_str
[docs] def _check_mail_body(self, response_mail_body, name, check_regex, latest_only):
mail = Mail(response_mail_body)
if mail.has_attachments():
return mail.get_attachments_by_name(name, check_regex, find_first=latest_only)
[docs] def _create_files(self, mail_attachments, local_output_directory):
for name, payload in mail_attachments:
if self._is_symlink(name):
self.log.error('Can not create file because it is a symlink!')
elif self._is_escaping_current_directory(name):
self.log.error('Can not create file because it is escaping the current directory!')
else:
self._create_file(name, payload, local_output_directory)
[docs] def _is_symlink(self, name):
# IMPORTANT NOTE: os.path.islink is not working for windows symlinks
# See: https://stackoverflow.com/a/11068434
return os.path.islink(name)
[docs] def _is_escaping_current_directory(self, name):
return '../' in name
[docs] def _correct_path(self, name, local_output_directory):
return local_output_directory + name if local_output_directory.endswith('/') \
else local_output_directory + '/' + name
[docs] def _create_file(self, name, payload, local_output_directory):
file_path = self._correct_path(name, local_output_directory)
with open(file_path, 'wb') as file:
file.write(payload)
[docs]class Mail(LoggingMixin):
"""
This class simplifies working with mails returned by the imaplib client.
:param mail_body: The mail body of a mail received from imaplib client.
:type mail_body: str
"""
def __init__(self, mail_body):
super(Mail, self).__init__()
self.mail = email.message_from_string(mail_body)
[docs] def has_attachments(self):
"""
Checks the mail for a attachments.
:returns: True if it has attachments and False if not.
:rtype: bool
"""
return self.mail.get_content_maintype() == 'multipart'
[docs] def get_attachments_by_name(self, name, check_regex, find_first=False):
"""
Gets all attachments by name for the mail.
:param name: The name of the attachment to look for.
:type name: str
:param check_regex: Checks the name for a regular expression.
:type check_regex: bool
:param find_first: If set to True it will only find the first match and then quit.
:type find_first: bool
:returns: a list of tuples each containing name and payload
where the attachments name matches the given name.
:rtype: list of tuple
"""
attachments = []
for part in self.mail.walk():
mail_part = MailPart(part)
if mail_part.is_attachment():
found_attachment = mail_part.has_matching_name(name) if check_regex \
else mail_part.has_equal_name(name)
if found_attachment:
file_name, file_payload = mail_part.get_file()
self.log.info('Found attachment: {}'.format(file_name))
attachments.append((file_name, file_payload))
if find_first:
break
return attachments
[docs]class MailPart:
"""
This class is a wrapper for a Mail object's part and gives it more features.
:param part: The mail part in a Mail object.
:type part: any
"""
def __init__(self, part):
self.part = part
[docs] def is_attachment(self):
"""
Checks if the part is a valid mail attachment.
:returns: True if it is an attachment and False if not.
:rtype: bool
"""
return self.part.get_content_maintype() != 'multipart' and self.part.get('Content-Disposition')
[docs] def has_matching_name(self, name):
"""
Checks if the given name matches the part's name.
:param name: The name to look for.
:type name: str
:returns: True if it matches the name (including regular expression).
:rtype: tuple
"""
return re.match(name, self.part.get_filename())
[docs] def has_equal_name(self, name):
"""
Checks if the given name is equal to the part's name.
:param name: The name to look for.
:type name: str
:returns: True if it is equal to the given name.
:rtype: bool
"""
return self.part.get_filename() == name
[docs] def get_file(self):
"""
Gets the file including name and payload.
:returns: the part's name and payload.
:rtype: tuple
"""
return self.part.get_filename(), self.part.get_payload(decode=True)


[{"file":"server/controllers/cookieController.ts","line":6,"character":34,"text":"id","kind":1}]
TypeScript Coverage Report generated by type-coverage and typescript-coverage-report at Fri, 05 May 2023 01:51:04 GMT


Further to yesterday's postage about the RMS Titanic, here is the title page of a 1912 book about the disaster. I miss the days when books had lengthy and descriptive titles. More sunken gigantic ocean liner material at The Public Domain Review.


password validators
Password validation validator will allow user to enter only the input according to correct password validation format.
When to use
Suppose you want to create a login form, which contains fields like newPassword and oldPassword and you want the user to enter valid Password pattern. Here depending upon the requirement these scenarios may arise.
- Adding validation on oldPassword Field and adding Custom Message on it.
- Apply validation in newPassword validation there is validators on digit, alphabets, contains, lowerCase, upperCase, specialCharacter, minLength, maxLength.
- Apply dynamic validation, If the validation will be changed based on some criteria in the application.
Let’s see how password validator fulfil the need.
Basic password Validation
We need to create a FormGroup in the component. To achieve this we need to add RxFormBuilder. The RxFormBuilder is an injectable service that is provided with the RxReactiveFormsModule. Inject this dependency by adding it to the component constructor.
Here we have covered Add form operation.
Next, we need to write html code.
PasswordConfig
message options are not mandatory to use in the RxwebValidators.password() validator but validation is mandatory. If needed then use the below options.
| Option | Description |
|---|---|
| message | To override the global configuration message and show the custom message on particular control property. |
| validation | Validation is used for setting the parameters for password validation, In Password validation there is validations on digit, alphabets, contains, lowerCase, upperCase, specialCharacter, minLength, maxLength. |


Find Your Doctor
Search by Doctor Name
Search by Condition/Doctor Specialty
Find Your Doctor
Enter Name
Submit
Find Your Doctor
Enter Condition/Specialty
Submit


Edit Data Service
A custom data service containing data you need to access in your applications.
Name
Tags
Description
Save Changes
Cancel