mgs/0.2.1

C++14 codec library
Recipe info
2023-03-09

Available packages
Header Only

Install
Add the following line to your conanfile.txt:
[requires]
mgs/0.2.1

Using mgs

Note

If you are new with Conan, we recommend to read the section how to consume packages.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
mgs/0.2.1
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("mgs/0.2.1")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): mgs
  • CMake target name(s): mgs::mgs
  • mgs-meta => mgs::meta
    mgs-base16 => mgs::base16
    mgs-base32 => mgs::base32
    mgs-base64 => mgs::base64
    mgs-base_n => mgs::base_n
    mgs-codecs => mgs::codecs
    mgs-config => mgs::config
    mgs-base32hex => mgs::base32hex
    mgs-base64url => mgs::base64url
    mgs-exceptions => mgs::exceptions
    
  • pkg-config file name(s): mgs.pc
  • mgs-meta => mgs-mgs-meta.pc
    mgs-base16 => mgs-mgs-base16.pc
    mgs-base32 => mgs-mgs-base32.pc
    mgs-base64 => mgs-mgs-base64.pc
    mgs-base_n => mgs-mgs-base_n.pc
    mgs-codecs => mgs-mgs-codecs.pc
    mgs-config => mgs-mgs-config.pc
    mgs-base32hex => mgs-mgs-base32hex.pc
    mgs-base64url => mgs-mgs-base64url.pc
    mgs-exceptions => mgs-mgs-exceptions.pc
    

A simple use case using the CMake file name and the global target:

# ...
find_package(mgs REQUIRED)
# ...
target_link_libraries(YOUR_TARGET mgs::mgs)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the mgs homepage listed above:

#include "mgs/base16.hpp"
#include "mgs/base16/detail/encoding_traits.hpp"
#include "mgs/base32.hpp"
#include "mgs/base32/detail/encoding_traits.hpp"
#include "mgs/base32hex.hpp"
#include "mgs/base32hex/detail/encoding_traits.hpp"
#include "mgs/base64.hpp"
#include "mgs/base64/detail/encoding_traits.hpp"
#include "mgs/base64url.hpp"
#include "mgs/base64url/detail/basic_encoding_traits.hpp"
#include "mgs/base_n/basic_codec.hpp"
#include "mgs/base_n/basic_codec_traits.hpp"
#include "mgs/base_n/concepts/encoding_traits.hpp"
#include "mgs/base_n/decode_algorithm.hpp"
#include "mgs/base_n/detail/bitset_utils.hpp"
#include "mgs/base_n/detail/bitshift_traits.hpp"
#include "mgs/base_n/detail/encoded_input_reader.hpp"
#include "mgs/base_n/detail/encoded_size.hpp"
#include "mgs/base_n/detail/input_sanitizer.hpp"
#include "mgs/base_n/detail/math.hpp"
#include "mgs/base_n/detail/max_decoded_size.hpp"
#include "mgs/base_n/detail/output_decoder.hpp"
#include "mgs/base_n/detail/output_encoder.hpp"
#include "mgs/base_n/detail/padding_writer.hpp"
#include "mgs/base_n/detail/span.hpp"
#include "mgs/base_n/detail/static_vector.hpp"
#include "mgs/base_n/detected/static_data_members/alphabet.hpp"
#include "mgs/base_n/detected/static_data_members/padding_character.hpp"
#include "mgs/base_n/detected/static_data_members/padding_policy.hpp"
#include "mgs/base_n/detected/static_member_functions/index_of.hpp"
#include "mgs/base_n/encode_algorithm.hpp"
#include "mgs/base_n/padding_policy.hpp"
#include "mgs/codecs/basic_codec.hpp"
#include "mgs/codecs/basic_input_range.hpp"
#include "mgs/codecs/concepts/byte_type.hpp"
#include "mgs/codecs/concepts/codec.hpp"
#include "mgs/codecs/concepts/codec_output.hpp"
#include "mgs/codecs/concepts/codec_traits.hpp"
#include "mgs/codecs/concepts/input_source.hpp"
#include "mgs/codecs/concepts/sized_input_source.hpp"
#include "mgs/codecs/detail/basic_input_range_impl.hpp"
#include "mgs/codecs/detail/basic_input_range_iterator.hpp"
#include "mgs/codecs/detail/basic_input_range_iterator_impl.hpp"
#include "mgs/codecs/detail/default_converter.hpp"
#include "mgs/codecs/detail/default_converter_fwd.hpp"
#include "mgs/codecs/detail/detect_input_sources.hpp"
#include "mgs/codecs/detail/input_reader.hpp"
#include "mgs/codecs/detail/iterator_sentinel_source_impl.hpp"
#include "mgs/codecs/detail/read_at_most.hpp"
#include "mgs/codecs/detail/string_literal_char_type.hpp"
#include "mgs/codecs/detected/member_functions/max_remaining_size.hpp"
#include "mgs/codecs/detected/member_functions/read.hpp"
#include "mgs/codecs/detected/static_member_functions/create.hpp"
#include "mgs/codecs/detected/static_member_functions/decode.hpp"
#include "mgs/codecs/detected/static_member_functions/encode.hpp"
#include "mgs/codecs/detected/static_member_functions/make_decoder.hpp"
#include "mgs/codecs/detected/static_member_functions/make_encoder.hpp"
#include "mgs/codecs/detected/types/default_decoded_output.hpp"
#include "mgs/codecs/detected/types/default_encoded_output.hpp"
#include "mgs/codecs/detected/types/traits.hpp"
#include "mgs/codecs/iterator_sentinel_source.hpp"
#include "mgs/codecs/output_traits.hpp"
#include "mgs/codecs/output_traits_fwd.hpp"
#include "mgs/config.hpp"
#include "mgs/exceptions/decode_error.hpp"
#include "mgs/exceptions/exception.hpp"
#include "mgs/exceptions/invalid_input_error.hpp"
#include "mgs/exceptions/unexpected_eof_error.hpp"
#include "mgs/meta/common_reference.hpp"
#include "mgs/meta/concepts/assignable_from.hpp"
#include "mgs/meta/concepts/bidirectional_iterator.hpp"
#include "mgs/meta/concepts/bidirectional_range.hpp"
#include "mgs/meta/concepts/boolean.hpp"
#include "mgs/meta/concepts/common_range.hpp"
#include "mgs/meta/concepts/common_reference_with.hpp"
#include "mgs/meta/concepts/complete_type.hpp"
#include "mgs/meta/concepts/constructible_from.hpp"
#include "mgs/meta/concepts/convertible_to.hpp"
#include "mgs/meta/concepts/copy_constructible.hpp"
#include "mgs/meta/concepts/copyable.hpp"
#include "mgs/meta/concepts/default_constructible.hpp"
#include "mgs/meta/concepts/dereferenceable.hpp"
#include "mgs/meta/concepts/derived_from.hpp"
#include "mgs/meta/concepts/destructible.hpp"
#include "mgs/meta/concepts/detail/insert_iterator.hpp"
#include "mgs/meta/concepts/detail/iterator_traits.hpp"
#include "mgs/meta/concepts/equality_comparable.hpp"
#include "mgs/meta/concepts/equality_comparable_with.hpp"
#include "mgs/meta/concepts/forward_iterator.hpp"
#include "mgs/meta/concepts/forward_range.hpp"
#include "mgs/meta/concepts/incrementable.hpp"
#include "mgs/meta/concepts/input_iterator.hpp"
#include "mgs/meta/concepts/input_or_output_iterator.hpp"
#include "mgs/meta/concepts/input_range.hpp"
#include "mgs/meta/concepts/integral.hpp"
#include "mgs/meta/concepts/movable.hpp"
#include "mgs/meta/concepts/move_constructible.hpp"
#include "mgs/meta/concepts/output_iterator.hpp"
#include "mgs/meta/concepts/output_range.hpp"
#include "mgs/meta/concepts/random_access_iterator.hpp"
#include "mgs/meta/concepts/random_access_range.hpp"
#include "mgs/meta/concepts/range.hpp"
#include "mgs/meta/concepts/readable.hpp"
#include "mgs/meta/concepts/regular.hpp"
#include "mgs/meta/concepts/same_as.hpp"
#include "mgs/meta/concepts/semiregular.hpp"
#include "mgs/meta/concepts/sentinel_for.hpp"
#include "mgs/meta/concepts/signed_integral.hpp"
#include "mgs/meta/concepts/sized_sentinel_for.hpp"
#include "mgs/meta/concepts/swappable.hpp"
#include "mgs/meta/concepts/totally_ordered.hpp"
#include "mgs/meta/concepts/totally_ordered_with.hpp"
#include "mgs/meta/concepts/weakly_equality_comparable_with.hpp"
#include "mgs/meta/concepts/weakly_incrementable.hpp"
#include "mgs/meta/concepts/writable.hpp"
#include "mgs/meta/detail/call_std/begin.hpp"
#include "mgs/meta/detail/call_std/end.hpp"
#include "mgs/meta/detail/call_std/swap.hpp"
#include "mgs/meta/detail/can_call_std.hpp"
#include "mgs/meta/detail/common_reference_impl.hpp"
#include "mgs/meta/detected.hpp"
#include "mgs/meta/detected/macros.hpp"
#include "mgs/meta/detected/member_functions/resize.hpp"
#include "mgs/meta/detected/operators/addition.hpp"
#include "mgs/meta/detected/operators/addition_assignment.hpp"
#include "mgs/meta/detected/operators/array_subscript.hpp"
#include "mgs/meta/detected/operators/dereference.hpp"
#include "mgs/meta/detected/operators/equality.hpp"
#include "mgs/meta/detected/operators/function_call.hpp"
#include "mgs/meta/detected/operators/greater_or_equal_than.hpp"
#include "mgs/meta/detected/operators/greater_than.hpp"
#include "mgs/meta/detected/operators/inequality.hpp"
#include "mgs/meta/detected/operators/less_or_equal_than.hpp"
#include "mgs/meta/detected/operators/less_than.hpp"
#include "mgs/meta/detected/operators/logical_and.hpp"
#include "mgs/meta/detected/operators/logical_not.hpp"
#include "mgs/meta/detected/operators/logical_or.hpp"
#include "mgs/meta/detected/operators/post_decrement.hpp"
#include "mgs/meta/detected/operators/post_increment.hpp"
#include "mgs/meta/detected/operators/pre_decrement.hpp"
#include "mgs/meta/detected/operators/pre_increment.hpp"
#include "mgs/meta/detected/operators/substraction.hpp"
#include "mgs/meta/detected/operators/substraction_assignment.hpp"
#include "mgs/meta/detected/types/difference_type.hpp"
#include "mgs/meta/detected/types/element_type.hpp"
#include "mgs/meta/detected/types/iterator.hpp"
#include "mgs/meta/detected/types/iterator_category.hpp"
#include "mgs/meta/detected/types/iterator_concept.hpp"
#include "mgs/meta/detected/types/key_type.hpp"
#include "mgs/meta/detected/types/pointer.hpp"
#include "mgs/meta/detected/types/reference.hpp"
#include "mgs/meta/detected/types/size_type.hpp"
#include "mgs/meta/detected/types/value_type.hpp"
#include "mgs/meta/incrementable_traits.hpp"
#include "mgs/meta/iter_concept.hpp"
#include "mgs/meta/iter_difference_t.hpp"
#include "mgs/meta/iter_reference_t.hpp"
#include "mgs/meta/iter_rvalue_reference_t.hpp"
#include "mgs/meta/iter_traits.hpp"
#include "mgs/meta/iter_value_t.hpp"
#include "mgs/meta/iterator_t.hpp"
#include "mgs/meta/iterator_traits.hpp"
#include "mgs/meta/priority_tag.hpp"
#include "mgs/meta/range_difference_t.hpp"
#include "mgs/meta/range_reference_t.hpp"
#include "mgs/meta/range_rvalue_reference_t.hpp"
#include "mgs/meta/range_value_t.hpp"
#include "mgs/meta/readable_traits.hpp"
#include "mgs/meta/sentinel_t.hpp"
#include "mgs/meta/static_asserts.hpp"
#include "mgs/meta/void_t.hpp"
#include "mgs/ssize_t.hpp"