Skip to content

Commit

Permalink
spelling
Browse files Browse the repository at this point in the history
Correct a few words to improve readability.

Signed-off-by: A. Maitland Bottoms <[email protected]>
  • Loading branch information
maitbot authored and AlexandraTrifan committed Jun 18, 2024
1 parent 51cb985 commit c2f7773
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions bindings/matlab/definelibm2k.m
Original file line number Diff line number Diff line change
Expand Up @@ -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|
Expand Down Expand Up @@ -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|
Expand Down Expand Up @@ -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|
Expand Down
6 changes: 3 additions & 3 deletions bindings/matlab/definelibm2k_linux64.m
Original file line number Diff line number Diff line change
Expand Up @@ -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|
Expand Down Expand Up @@ -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|
Expand Down Expand Up @@ -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|
Expand Down
6 changes: 3 additions & 3 deletions bindings/matlab/definelibm2k_win64.m
Original file line number Diff line number Diff line change
Expand Up @@ -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|
Expand Down Expand Up @@ -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|
Expand Down Expand Up @@ -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|
Expand Down
2 changes: 1 addition & 1 deletion include/libm2k/analog/m2kanalogout.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<double> setSampleRate(std::vector<double> samplerates) = 0;

Expand Down
4 changes: 2 additions & 2 deletions include/libm2k/context.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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<std::string> getAvailableContextAttributes() = 0;

Expand Down

0 comments on commit c2f7773

Please sign in to comment.