Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strong string types #1942

Closed
1 of 2 tasks
elfenpiff opened this issue Mar 17, 2023 · 0 comments · Fixed by #1943 or #1951
Closed
1 of 2 tasks

Strong string types #1942

elfenpiff opened this issue Mar 17, 2023 · 0 comments · Fixed by #1943 or #1951
Assignees

Comments

@elfenpiff
Copy link
Contributor

elfenpiff commented Mar 17, 2023

Brief feature description

In multiple constructs we use a iox::string to represent a posix user/group, filename, path, filepath etc. This leads to a lot of code duplication since the validity of the string has to be verified on multiple levels multiple times.
Furthermore, it makes it unclear to the user what kind of string-type is required and what restriction/contract it shall follow.

Detailed information

  • Introduce a SemanticString based on a iox::String which is used as base for strings with a contract.
  • Implement User, Group, FileName, FilePath, Path as semantic strings.
@elfenpiff elfenpiff self-assigned this Mar 17, 2023
elfenpiff added a commit to ApexAI/iceoryx that referenced this issue Mar 17, 2023
elfenpiff added a commit to ApexAI/iceoryx that referenced this issue Mar 17, 2023
elfenpiff added a commit to ApexAI/iceoryx that referenced this issue Mar 17, 2023
elfenpiff added a commit to ApexAI/iceoryx that referenced this issue Mar 20, 2023
elfenpiff added a commit to ApexAI/iceoryx that referenced this issue Mar 20, 2023
elfenpiff added a commit to ApexAI/iceoryx that referenced this issue Mar 20, 2023
elfenpiff added a commit to ApexAI/iceoryx that referenced this issue Mar 20, 2023
elfenpiff added a commit to ApexAI/iceoryx that referenced this issue Mar 20, 2023
elfenpiff added a commit to ApexAI/iceoryx that referenced this issue Mar 20, 2023
elfenpiff added a commit to ApexAI/iceoryx that referenced this issue Mar 20, 2023
elfenpiff added a commit to ApexAI/iceoryx that referenced this issue Mar 20, 2023
elfenpiff added a commit to ApexAI/iceoryx that referenced this issue Mar 22, 2023
elfenpiff added a commit to ApexAI/iceoryx that referenced this issue Mar 22, 2023
elfenpiff added a commit to ApexAI/iceoryx that referenced this issue Mar 22, 2023
elfenpiff added a commit to ApexAI/iceoryx that referenced this issue Mar 23, 2023
elfenpiff added a commit to ApexAI/iceoryx that referenced this issue Mar 23, 2023
elfenpiff added a commit to ApexAI/iceoryx that referenced this issue Mar 23, 2023
elfenpiff added a commit to ApexAI/iceoryx that referenced this issue Mar 23, 2023
elfenpiff added a commit to ApexAI/iceoryx that referenced this issue Mar 23, 2023
elfenpiff added a commit to ApexAI/iceoryx that referenced this issue Mar 23, 2023
elfenpiff added a commit to ApexAI/iceoryx that referenced this issue Mar 23, 2023
@elfenpiff elfenpiff reopened this Mar 27, 2023
elfenpiff added a commit to ApexAI/iceoryx that referenced this issue Mar 31, 2023
elfenpiff added a commit to ApexAI/iceoryx that referenced this issue Mar 31, 2023
elfenpiff added a commit to ApexAI/iceoryx that referenced this issue Mar 31, 2023
elfenpiff added a commit to ApexAI/iceoryx that referenced this issue Mar 31, 2023
elfenpiff added a commit to ApexAI/iceoryx that referenced this issue Mar 31, 2023
elfenpiff added a commit to ApexAI/iceoryx that referenced this issue Mar 31, 2023
elfenpiff added a commit to ApexAI/iceoryx that referenced this issue Mar 31, 2023
elfenpiff added a commit to ApexAI/iceoryx that referenced this issue Mar 31, 2023
elfenpiff added a commit to ApexAI/iceoryx that referenced this issue Mar 31, 2023
elfenpiff added a commit to ApexAI/iceoryx that referenced this issue Apr 3, 2023
…s since a group-name may have different contracts with syntax, length and style

Signed-off-by: Christian Eltzschig <[email protected]>
elfenpiff added a commit to ApexAI/iceoryx that referenced this issue Apr 3, 2023
elfenpiff added a commit to ApexAI/iceoryx that referenced this issue Apr 3, 2023
Signed-off-by: Christian Eltzschig <[email protected]>
elfenpiff added a commit to ApexAI/iceoryx that referenced this issue Apr 3, 2023
elfenpiff added a commit to ApexAI/iceoryx that referenced this issue Apr 3, 2023
elfenpiff added a commit to ApexAI/iceoryx that referenced this issue Apr 3, 2023
elfenpiff added a commit to ApexAI/iceoryx that referenced this issue Apr 3, 2023
… better semantic context

Signed-off-by: Christian Eltzschig <[email protected]>
elfenpiff added a commit to ApexAI/iceoryx that referenced this issue Apr 3, 2023
Signed-off-by: Christian Eltzschig <[email protected]>
elfenpiff added a commit to ApexAI/iceoryx that referenced this issue Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant