From c2f77736cdff43cb878d0e479d432247d8e3d648 Mon Sep 17 00:00:00 2001 From: "A. Maitland Bottoms" Date: Fri, 26 Apr 2024 16:50:43 -0400 Subject: [PATCH] spelling Correct a few words to improve readability. Signed-off-by: A. Maitland Bottoms --- bindings/matlab/definelibm2k.m | 6 +++--- bindings/matlab/definelibm2k_linux64.m | 6 +++--- bindings/matlab/definelibm2k_win64.m | 6 +++--- include/libm2k/analog/m2kanalogout.hpp | 2 +- include/libm2k/context.hpp | 4 ++-- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/bindings/matlab/definelibm2k.m b/bindings/matlab/definelibm2k.m index b6a27468..99296908 100644 --- a/bindings/matlab/definelibm2k.m +++ b/bindings/matlab/definelibm2k.m @@ -2279,7 +2279,7 @@ "Set the sample rate for both channels", ... "DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed. defineArgument(setSampleRateDefinition, "samplerates", "clib.array.libm2k.Double", "Description", "samplerates A list containing the sample rates of each channel"); -defineOutput(setSampleRateDefinition, "RetVal", "clib.array.libm2k.Double", "Description", "A list containing the previously setted sample rates"); +defineOutput(setSampleRateDefinition, "RetVal", "clib.array.libm2k.Double", "Description", "A list containing the previously set sample rates"); validate(setSampleRateDefinition); %% C++ class method |setSampleRate| for C++ class |libm2k::analog::M2kAnalogOut| @@ -3267,7 +3267,7 @@ "Description", "getUri Method of C++ class libm2k::context::Context." + newline + ... "Get the URI of the current context", ... "DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed. -defineOutput(getUriDefinition, "RetVal", "string", "Description", "string containt the context URI (ex: ""usb:1.2.3"", ""ip:192.168.2.1"")"); +defineOutput(getUriDefinition, "RetVal", "string", "Description", "string containing the context URI (ex: ""usb:1.2.3"", ""ip:192.168.2.1"")"); validate(getUriDefinition); %% C++ class method |getDMM| for C++ class |libm2k::context::Context| @@ -3305,7 +3305,7 @@ "Description", "getAvailableContextAttributes Method of C++ class libm2k::context::Context." + newline + ... "Retrieve all the available context attributes", ... "DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed. -defineOutput(getAvailableContextAttributesDefinition, "RetVal", "clib.array.libm2k.std.String", "Description", "A list of strings containg all the context attributes"); +defineOutput(getAvailableContextAttributesDefinition, "RetVal", "clib.array.libm2k.std.String", "Description", "A list of strings containing all the context attributes"); validate(getAvailableContextAttributesDefinition); %% C++ class method |getContextAttributeValue| for C++ class |libm2k::context::Context| diff --git a/bindings/matlab/definelibm2k_linux64.m b/bindings/matlab/definelibm2k_linux64.m index 7c682f7b..33de286d 100644 --- a/bindings/matlab/definelibm2k_linux64.m +++ b/bindings/matlab/definelibm2k_linux64.m @@ -2276,7 +2276,7 @@ "Set the sample rate for both channels", ... "DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed. defineArgument(setSampleRateDefinition, "samplerates", "clib.array.libm2k.Double", "Description", "samplerates A list containing the sample rates of each channel"); -defineOutput(setSampleRateDefinition, "RetVal", "clib.array.libm2k.Double", "Description", "A list containing the previously setted sample rates"); +defineOutput(setSampleRateDefinition, "RetVal", "clib.array.libm2k.Double", "Description", "A list containing the previously set sample rates"); validate(setSampleRateDefinition); %% C++ class method |setSampleRate| for C++ class |libm2k::analog::M2kAnalogOut| @@ -3264,7 +3264,7 @@ "Description", "getUri Method of C++ class libm2k::context::Context." + newline + ... "Get the URI of the current context", ... "DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed. -defineOutput(getUriDefinition, "RetVal", "string", "Description", "string containt the context URI (ex: ""usb:1.2.3"", ""ip:192.168.2.1"")"); +defineOutput(getUriDefinition, "RetVal", "string", "Description", "string containing the context URI (ex: ""usb:1.2.3"", ""ip:192.168.2.1"")"); validate(getUriDefinition); %% C++ class method |getDMM| for C++ class |libm2k::context::Context| @@ -3302,7 +3302,7 @@ "Description", "getAvailableContextAttributes Method of C++ class libm2k::context::Context." + newline + ... "Retrieve all the available context attributes", ... "DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed. -defineOutput(getAvailableContextAttributesDefinition, "RetVal", "clib.array.libm2k.std.String", "Description", "A list of strings containg all the context attributes"); +defineOutput(getAvailableContextAttributesDefinition, "RetVal", "clib.array.libm2k.std.String", "Description", "A list of strings containing all the context attributes"); validate(getAvailableContextAttributesDefinition); %% C++ class method |getContextAttributeValue| for C++ class |libm2k::context::Context| diff --git a/bindings/matlab/definelibm2k_win64.m b/bindings/matlab/definelibm2k_win64.m index b6a27468..99296908 100644 --- a/bindings/matlab/definelibm2k_win64.m +++ b/bindings/matlab/definelibm2k_win64.m @@ -2279,7 +2279,7 @@ "Set the sample rate for both channels", ... "DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed. defineArgument(setSampleRateDefinition, "samplerates", "clib.array.libm2k.Double", "Description", "samplerates A list containing the sample rates of each channel"); -defineOutput(setSampleRateDefinition, "RetVal", "clib.array.libm2k.Double", "Description", "A list containing the previously setted sample rates"); +defineOutput(setSampleRateDefinition, "RetVal", "clib.array.libm2k.Double", "Description", "A list containing the previously set sample rates"); validate(setSampleRateDefinition); %% C++ class method |setSampleRate| for C++ class |libm2k::analog::M2kAnalogOut| @@ -3267,7 +3267,7 @@ "Description", "getUri Method of C++ class libm2k::context::Context." + newline + ... "Get the URI of the current context", ... "DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed. -defineOutput(getUriDefinition, "RetVal", "string", "Description", "string containt the context URI (ex: ""usb:1.2.3"", ""ip:192.168.2.1"")"); +defineOutput(getUriDefinition, "RetVal", "string", "Description", "string containing the context URI (ex: ""usb:1.2.3"", ""ip:192.168.2.1"")"); validate(getUriDefinition); %% C++ class method |getDMM| for C++ class |libm2k::context::Context| @@ -3305,7 +3305,7 @@ "Description", "getAvailableContextAttributes Method of C++ class libm2k::context::Context." + newline + ... "Retrieve all the available context attributes", ... "DetailedDescription", "This content is from the external library documentation."); % Modify help description values as needed. -defineOutput(getAvailableContextAttributesDefinition, "RetVal", "clib.array.libm2k.std.String", "Description", "A list of strings containg all the context attributes"); +defineOutput(getAvailableContextAttributesDefinition, "RetVal", "clib.array.libm2k.std.String", "Description", "A list of strings containing all the context attributes"); validate(getAvailableContextAttributesDefinition); %% C++ class method |getContextAttributeValue| for C++ class |libm2k::context::Context| diff --git a/include/libm2k/analog/m2kanalogout.hpp b/include/libm2k/analog/m2kanalogout.hpp index 31c62be6..a9f6a2cb 100644 --- a/include/libm2k/analog/m2kanalogout.hpp +++ b/include/libm2k/analog/m2kanalogout.hpp @@ -124,7 +124,7 @@ class LIBM2K_API M2kAnalogOut * @brief Set the sample rate for both channels * * @param samplerates A list containing the sample rates of each channel - * @return A list containing the previously setted sample rates + * @return A list containing the previously set sample rates */ virtual std::vector setSampleRate(std::vector samplerates) = 0; diff --git a/include/libm2k/context.hpp b/include/libm2k/context.hpp index 0d7731c0..57cac184 100644 --- a/include/libm2k/context.hpp +++ b/include/libm2k/context.hpp @@ -71,7 +71,7 @@ class LIBM2K_API Context { /** * @brief Get the URI of the current context - * @return string containt the context URI (ex: "usb:1.2.3", "ip:192.168.2.1") + * @return string containing the context URI (ex: "usb:1.2.3", "ip:192.168.2.1") */ virtual std::string getUri() = 0; @@ -103,7 +103,7 @@ class LIBM2K_API Context { /** * @brief Retrieve all the available context attributes - * @return A list of strings containg all the context attributes + * @return A list of strings containing all the context attributes */ virtual std::vector getAvailableContextAttributes() = 0;