• Skip to main content
  • Skip to header right navigation
  • Skip to site footer
CDP Studio logo

CDP Studio

The no-code and full-code software development tool for distributed control systems and HMI

  • Doc
  • Why CDP
    • Software developers
    • Automation engineers
    • Managers
  • Products
    • Automation Designer
    • HMI Designer
    • Maritime HMIs
  • Services
  • Use cases
  • Pricing
  • Try CDP

CDP Studio Documentation

  • Framework - Automation
  • MessageRegexProxyOut
  • 5.0.0

MessageRegexProxyOut Class

(Automation::MessageRegexProxyOut)

The MessageRegexProxyOut is a conditional output argument for MessageRegexProxy. More...

Header: #include <MessageRegexProxyOut>
Inherits: MessageArgument
  • List of all members, including inherited members

Public Functions

MessageRegexProxyOut(std::function<int( const MessageArgument & arg, void * message ) > handler)
bool Matches(const std::string &string)
  • 19 public functions inherited from MessageArgument
  • 49 public functions inherited from CDPBaseObject
  • 27 public functions inherited from CDP::StudioAPI::CDPNode
  • 22 public functions inherited from CDP::StudioAPI::ICDPNode

Additional Inherited Members

  • 1 static public member inherited from CDPBaseObject
  • 1 protected function inherited from CDP::StudioAPI::CDPNode
  • 10 protected variables inherited from CDPBaseObject

Detailed Description

The MessageRegexProxyOut is a conditional output argument for MessageRegexProxy.

The MessageRegexProxyOut argument has the following additional properties (in addition to MessageArgument):

PropertyDescription
SearchPOSIX regular expression search pattern to match for the send.

Below is a table with the most useful special characters in patterns:

(...)Specifies a block (regex group). Anything that is matched inside parenthesis can be references using $1 $2 etc in the Replace field.
.Matches any character
\.Matches . character (dot)
\sMatches any whitespace character (space, tab or newline)
\SMatches any non-whitespace character (any character except space, tab and newline)
\dMatches any digit character
\DMatches any non-digit character
\wMatches any alphanumeric character (letter, number or underscore)
\WMatches any non-letter character (so it is not a letter, number nor underscore)
+Indicates one or more occurrences of the preceding elements. For example, S+ causes to match one or more sequential non-whitespace characters.
*Indicates zero or more occurrences of the preceding elements. For example, S* causes to match any number (or zero) sequential non-whitespace characters.

You can learn more about regex expression possibilities, at:

  • Boost regex page
  • Wikipedia regex page

See also MessageRegexProxy and MessageArgument.

Member Function Documentation

MessageRegexProxyOut::MessageRegexProxyOut(std::function<int( const MessageArgument & arg, void * message ) > handler)

Default constructs an instance of MessageRegexProxyOut.

bool MessageRegexProxyOut::Matches(const std::string &string)

The content of this document is confidential information not to be published without the consent of CDP Technologies AS.

CDP Technologies AS, www.cdpstudio.com

Get started with CDP Studio today

Let us help you take your great ideas and turn them into the products your customer will love.

Try CDP Studio for free
Why CDP Studio?

CDP Technologies AS
Hundsværgata 8,
P.O. Box 144
6001 Ålesund, Norway

Tel: +47 990 80 900
E-mail: info@cdptech.com

Company

About CDP

Contact us

Services

Partners

Blog

Developers

Get started

User manuals

Support

Document download

Release notes

My account

Follow CDP

  • LinkedIn
  • YouTube
  • GitHub

© Copyright 2025 CDP Technologies. Privacy and cookie policy.

Return to top